Skip to Main Content

Visual Builder

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Select Single with ADP items[] Array

MFM TechOct 16 2024

Hi Everyone,

I'm facing an issue with populating the LOV for 'Select Single' during page load. I have seen an example explaining this in one of the links by @shay-shmeltzer-oracle . However, in that example, the array was removed to create a type for the ADP variable that the REST response would populate. In my scenario, as shown below with the TimeZone REST APIs and many others, we encounter issues if we remove the brackets and keep the type as a simple object. I'm using the TimeZone REST API from an Oracle Fusion SaaS instance, and I've also checked other APIs from Oracle Fusion.

While creating the type from the endpoint, the items array should remain bound to the type.

here it will looks like in types and JSON code

If we remove the items array and keep it as a simple object, we get an undefined error in the select single field. I checked the network traffic in Inspect, and the REST call is successfully populating the data.

Anyone have any suggestions to resolve this issue, please?

Thanks

This post has been answered by Shay Shmeltzer-Oracle on Oct 21 2024
Jump to Answer
Comments
Post Details
Added on Oct 16 2024
8 comments
980 views