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 / Populate a Combobox wi...
Power Apps
Answered

Populate a Combobox with JSON array response from flow

(0) ShareShare
ReportReport
Posted on by 18

Hi All,

 

Good day!!

 

I have a custom connector which resturns the AD roles in a JSON array. I created a flow to send this back to the power app.

 

sathish804_0-1635240693701.png

Now I am trying to create a variable to hold these values to populate them in a combo box like this

sathish804_1-1635240766549.png

But in Combobox when I am using the FetchedItems variable I am getting error that expected a table value.

 

sathish804_2-1635240841866.png

 

Please advise what I am doing wrong here.

 

Thanks and regards,

Sathish.

 

Categories:
I have the same question (0)
  • AmeerJab Profile Picture
    370 on at

    Can you check the datatype of the data your getting from power automate, as i think you're not getting a table type where i think that you're getting an array instead, mostly when i use custom connectors to get data as tables into power-apps the data should be in between {} not [].

  • sathish804 Profile Picture
    18 on at

    I dont think it need {} because when I put the array directly to the set variable step its able to populate the combobox. But I want to do it with the service.

     

    sathish804_0-1635249420996.png

     

  • AmeerJab Profile Picture
    370 on at

    Yes in power apps it does work, but what i meant by the {} is that the data populated from power automate isn't a table type for power apps, to make sure, you can create a test table and then add the data to the table, or set the value in a set method in power automate to check the data type

  • sathish804 Profile Picture
    18 on at

    Sorry not sure on data type in power automate. I am just using response step to send the JSON array back to Power app.

     

    sathish804_0-1635252164148.png

     

  • AmeerJab Profile Picture
    370 on at

    Hello,

     

    so i was trying to remake your case here so please view below steps:

     

    • I made an array that represent the AzureRoles you have

    AmeerJab_0-1635254173307.png

    • i had the same response value you have 

    AmeerJab_1-1635254237680.png

     

    • and below is the output in power apps

    AmeerJab_2-1635254274805.png

     

    try to get your array to be represented as above, maybe by putting the value of your data in an array variable and send it through the response 

     

    Regards.

     

  • Verified answer
    sathish804 Profile Picture
    18 on at

    Figured it out!! Just made the collection like this 

     

    ClearCollect(FetchedItems, FetchADRoles.Run().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 1,041

#2
11manish Profile Picture

11manish 676

#3
Valantis Profile Picture

Valantis 655

Last 30 days Overall leaderboard