cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

How to get the result of API in dropdown

Hello All!

I have created one application in which I have integrated API with it. In this application I have taken one Textbox named as subID and second I have taken dropdown. 

 

Now what API is doing that as soon as I am passing subID it will get me the list of colleges. So what I want is, I want to get the list of that colleges in that dropdown format. So how can I achieve this thing?

Can someone please help me with this?!

Thanks in advance!

 

3 REPLIES 3
Dual Super User
Dual Super User

@Saurabh-704 

 

What is the format the API is returning the colleges. If you can get all the values in the form of a Table or Collection, you can bind it to the drop down Items property.

 

Please provide additional details to look into it.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

Thank you @rsaikrishna for your reply. I am getting result in JSON format. I am getting "ID" as well as "Collage name" in JSON format, but I only want to show College name in dropdown. 

@Saurabh-704 

 

Thats great. 

 

You can use Json function in Power Apps.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-json

 

Get all the values from JSON to a collection and bind the collection to drop down.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (15,913)