Using Skuid Dubai v2.
Scenario: User clicks a button that submits an Account number. An Apex method is called, connects to an outside institution via API. The returned data is a String. Looks like JSON when viewed in Edge browser dev tools:
[{“actionName”:“GetClients”,“errors”:null,“isSuccess”:true,“outputValues”:{“output”:[{“displayText”:“Mary Smith: BENEFICIARY”,“clientRole”:“BENEFICIARY”,“clientName”:“Mary Smith”,“clientId”:“8UP4ITUAJ”},{“displayText”:“Monica Smith: BENEFICIARY”, “clientRole”:“BENEFICIARY”,“clientName”:“Monica Smith”,“clientId”:“2UP4IZUAI”},{“displayText”:“Mary Smith-1985 Wells Fargo Bank: TRUST NAME”,“clientRole”:“TRUST NAME”,“clientName”:“Mary Smith-1985 Wells Fargo Bank”,“clientId”:“3UP4IXUAH”},{“displayText”:“BoA: TRUSTEE”, “clientRole”:“TRUSTEE”,“clientName”:“BoA”, “clientId”:“9UMSEXCGX”}]}}]
Would like to display in a table so the user can select one of the returned values:
Question:
If I have a UI-Table, how can it populate dynamically because I don’t know how many values would be returned but there is no more than 15 total.
Once user makes a selection, a model will be updated using “update rows” and the other values go away / not stored.
In the Preview section using Dev Tools in browser: