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 / Populating a dropdown ...
Power Apps
Unanswered

Populating a dropdown list from a flow API result

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I've developed a flow that calls an API that returns JSON format as below

{

  "response": [

    {

       "displayname": "ABC"

     },

    {

       "displayname": "DEF"

     }

]

}

 

I have tried to set the OnSelect properties of my dropdown list to the following: 

ClearCollect(Fetchitem,ParseJSON(GetAzureDevOpsMembers.Run(Assigned_I.Selected.Value).response))

I also tried the following under OnSelect:

Set(Fetchitem,ParseJSON(GetAzureDevOpsMembers.Run("Groupname").response))

 

and under Item:

Fetchitem

 

However i'm not getting the results shown. Also a runtime error pops up as Fetchitem is expected to be a string but it returns an array. 

Any ideas ?

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    Hi @haznaz , To return an array to Power Apps you have to use the HTTP Response action, not the respond to Power Apps action.  When using the HTTP Response you also need to make sure you have a valid JSON Schema loaded.

    But this require premium license. If you do not have premium license, then please check below article:

     

    https://deepakshrivastava.com/2022/08/24/send-array-json-response-from-power-automate-flow-to-power-apps-powerapps-powerautomate-response/

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


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