Hello All I am new into Appian I am fetching data from integration object where i get all nearby vaccination centers name, type of vaccine, available slot and it is free or paid. But when I fecth the details i get all the details in one row only. So how can i show center name row wise please help me I am new into appian and facing problem in these
See Here I am getting center name in one row only. How to show in different row. I am sharing the code also please tell me where and what should i do the changes
a!localVariables( local!result: rule!CVMS_vaccinationCenter_INT(district_id: ri!district_id,date: ri!date), a!formLayout( label: "Form", contents: { a!textField( label: "Enter Your District Id", labelPosition: "ABOVE", value: ri!district_id, saveInto: ri!district_id, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!textField( label: "Enter The Date for which want to check availability", labelPosition: "ABOVE", placeholder: "DD-MM-YYYY", value: ri!date, saveInto: ri!date, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!gridField( label: "Read-only Grid", labelPosition: "ABOVE", data: local!result.result.body, columns: { a!gridColumn( label: "Center Name", value: fv!row.sessions.name ), a!gridColumn( label: "Grid Column", value: null ) }, pageSize: null, pagingSaveInto: local!result, validations: {} ) }, buttons: a!buttonLayout( primaryButtons: { a!buttonWidget( label: "Submit", submit: true, style: "PRIMARY", loadingIndicator: true ) }, secondaryButtons: { a!buttonWidget( label: "Cancel", value: true, saveInto: {}, submit: true, style: "NORMAL", validate: false ) } )))
Discussion posts and replies are publicly visible
Hi
Are you able to provide the result of your integration.
local!result.result
Yes the result of integration object I am able to fetch in interface but i am getting all name in one row only. I want in different row please help me
Sure will try to help you, If possible can you provide integration results that you are getting (local!result). It help us to understand how your data is structured.
Hi, Try configuring your grid like below configuration.
a!gridField( label: "Read-only Grid", labelPosition: "ABOVE", data: local!result.result.body.sessions, columns: { a!gridColumn( label: "Center Name", value: fv!row.name )
Thank you so much its working fine now. Can you please explain me these. When value was fv!row.seesions.name it was showing in one row only and when selected value as fv!row.name it shows in different rows can you please explain me these.
Hi jignesht0001, You were not indexing correctly from the result which you got from integration. You need to understand how grid works and data iterates through rows. I assume you are new to Appian. Its good you are getting familiar with integrations and Web Api but i would also suggest you to go through Appian docs & tutorials to understand basic concepts of it. At least familiarize yourself with common objects, functions, recipes , data manipulations, CDT structure. not only it will clear your basic concepts but also it will strengthen your hold in Appian.
Yes , I am new into appian. I have just started learning Appian. Thank you so much for giving me this valuable advice and supporting me I will first go through the documents and tutorials to understand and make my base stronger. Thank you so much once again