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 / How to display custom ...
Power Apps
Unanswered

How to display custom connector response body in my app

(1) ShareShare
ReportReport
Posted on by 510

I have a custom connector "DataAPI" with Operation ID "TestResult". When I test, I get the response body in JSON format:

{
 "Key1": "Value1",
 "Key2": "Value2",
 "Key3": "Value3"
}

In my app, I have tried adding a button with

ClearCollect(
 testCollection, 
 DataAPI.TestResult()
)

but this does not add the response to the collection.

 

How do I store my response in a collection or even access individual values like

DataAPI.TestResult().Key1.Value

 

Categories:
I have the same question (0)
  • Cr1t Profile Picture
    555 on at

    @rwittels 
    below link will help you 
    https://www.matthewdevaney.com/power-apps-parsejson-function-get-collection-from-a-flow/
    Please let me know if this works for you. 
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • rwittels Profile Picture
    510 on at

    Thanks. I kind of see what's going on but this is quite different to what I have. I really need someone to explain my scenario please. Power Apps keeps telling me that DataAPI.TestResult() is a boolean value!?

  • Cr1t Profile Picture
    555 on at

    @rwittels 
    Could you please post the screentshots of your flow output? ill try my best to help, thank you. 

  • rwittels Profile Picture
    510 on at

    Figured this out. The connector already added a default 200 response during creation but I had added my own one. I had not set up the default 200 only my own. All working now.

     

    rwittels_0-1720705128027.png

     

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard