Context:
I have an integration associated with a webapi. Requests are successfully submitted and received on button click.
Instead of the button click, I want to populate a paging grid using the webapi results on page load.
Tried placing the integration call in the "onload" and "with", however the webapi call doesn't seem to be triggered at all.
Disclaimer: I'm a newbie and there may be a simpler way to accomplish what I want.. simply populating a grid using an api call without user intervention.
Discussion posts and replies are publicly visible
Have you tried setting the integration as the value of a local variable, then using that local variable in the grid?
https://docs.appian.com/suite/help/19.1/Grid_Tutorial.html#paging-and-sorting-configurations
For example, in the docs for the paging grid, (which you can find if you scroll slightly *up* from the anchor tag in the link above) they include an example of how to set value of a local variable called local!datasubset using the queryrecord() function. In the same way, you can set your datasubset variable for your paging grid (let's use the same local!datasubset variable name to be consistent) and specify your integration as its value. So, yours might be. local!datasubset: rule!XYZ_MyWebApiIntegtation()
Thanks Jim!
I had tried every possible way to extract the web api call through the integration object. I realized that my issue was with the integration object setting. I erroneously used "Modify Data". Issue resolved now. Thanks!!
Great to hear! Glad you were able to sort it out.