web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Showing external API v...
Power Apps
Answered

Showing external API values in a choice field

(0) ShareShare
ReportReport
Posted on by 225

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?

 

NativeNass__0-1695995888526.png

 

 

Thank you in advance.

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    3,306 Most Valuable Professional on at

    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:

    1. Usage of Whole Number/String field (depending on the value you would want to save in Dataverse).
    2. Development of PCF Control with the corresponding field type, querying the values from external source and populating the list of dropdown with the values from external source.
  • NativeNass_ Profile Picture
    225 on at

    Thank you @a33ik 

     

    We'll look into that!

  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @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?

  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    @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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard