cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Connecting to Custom API

I have succeeded in creating and testing the Custom Connector and it works fine. The challenge I am having now is, I am unable to call the API from inside the powerapp. I want to bind the API to the drop-down field such that the data automatically populates the drop-down field OnSelect or OnChange. 

2 REPLIES 2
Microsoft
Microsoft

I am looking for exactly the same functionality. I looked at a similar thread that I am not sure would help you -

 

https://powerusers.microsoft.com/t5/General-Discussion/How-do-I-bind-my-custom-API-to-a-dropdown-con...

 

For me this thread did not work as the response I get from the custom API connector querying a graph API saves the outcome in a collection with arrays. I am figuring out how I could retrieve the result from a collection array and have it binded to a dropdown list.

 

PowerApps.JPG

Community Support
Community Support

Hi @adagloria,

Is there some error message when you call your API within your app?

Could you please share a bit more about your issue?

Further, could you please share more details about the Custom API formula you used within your app?

I agree with @alzia's thought almost. Please check if you have specified proper response schema for the specific Operation within your custom connector.

In addition, please also check if you have specified proper response type within the Response part of your OpenAPI definition file.

You could consider take a try to test your API using Postman tool, and then get the response body of the '200 OK' response, after that, copy that response body and paste it into the Response schema of the 200 response for the specific Operation in your custom connector.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (4,518)