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

Notifications

Announcements

Community site session details

Community site session details

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

Showing external API values in a choice field

(0) ShareShare
ReportReport
Posted on by 223

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
    223 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard