Skip to main content
New Participant
Aug 19, 2022 9:24 PM UTC
Solved

Using Rest API Data for Gridview and Dropdown

Hallo Community,

Goal: Display response of Rest API in Gridview and Dropdown.

I have a working integration (via a public API) providing car manufacturers. The data is retrieved by Appian and consists of ID, Brand, Country.

Now I like to simpy display the data in a DropDown and a read-only Gridview. I went through the Online-Course "Integrations" for some help  but ultimately I cannot get this to work.

For GridView:

    data: rule!BP_GetCarManufacturers().result.body (the Integration object)

For each Column, I tried different approaches:

* value: fw!row.ID etc.

* value: {index(rule!BP_GetCarManufacturers().result.body, "Country", {} )}

Same for Dropdown, I also tried out different flavours of index(), but the best I get is the whole API response in one Choicevalue.

Any help/hint/guidance is appreciated!

Dan

Edit

I understand that it might not  be best practice to use an API call directly in some UI, it's really about a PoC.

Stating this, I guess best way would be API => Record Type => Interface?

    dant0005Answer
    New Participant
    Aug 19, 2022 10:27 PM UTC

    2 replies

    dant0005AuthorAnswer
    New Participant
    Aug 19, 2022 10:27 PM UTC
    New Participant
    Aug 20, 2022 6:53 AM UTC

    Welcome to the best betting sites slot-hyper-strike.com. Here you will find everything you need to make smart bets, strategies and strategies as well as tips and more.