Notifications
Announcements
Hi everybody
We were wondering if it's possible to populate a Dataverse choice column within a form with external values from an API.
Let's just say we would be using the following API: 'JSONPlaceholder - Guide (typicode.com)' and we would like to use JavaScript on the onLoad of the form to populate the choice field within the form with the title values from the API, is this possible?
Thank you in advance.
Hello,
That won't work, unfortunately with OOB choice fields. Value selected from the list has to be present in the optionset field declaration.
The only thing I can think of is:
Thank you @a33ik
We'll look into that!
@a33ik I'm wondering whether another option might be to implement the API based values are a Virtual Table, and to have lookup to target the Virtual Table on the main form, which can then rendered as a drop-down if required using a PCF control?
@parvezghumra theoretically that's doable but it would create more issues over bringing value.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268