You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to load REST response array data onto page using either Bind For Each or List View

edited Aug 9, 2019 9:07PM in Visual Builder 2 comments

Summary

How to load REST response array data onto page using either Bind For Each or List View

Content

I have a service connection built from an endpoint of my integration.  The integration has a REST endpoint and simply uses an Oracle DB connection to run a SQL statement which returns n-number of rows with 3 data elements (id, url, definition).  The JSON format of the REST response is below:

{
"get_url_and_svcdefOutput": [
{
"ID": 1,
"DEFINITION": "Web"
},
{
"ID": 2,
"URL": "def.web.com",
"DEFINITION": "Web"
},
{
"ID": 3,
"URL": "xyz.web.com",
"DEFINITION": "Web"
}
]
}

I have created a type in VBCS from my REST endpoint which looks like:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!