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 / can't access nested ar...
Power Apps
Unanswered

can't access nested array in custom connector

(0) ShareShare
ReportReport
Posted on by 5

Hello I'm trying to build a Powerapp that is connected with a Custom Connector to the Bing Location by Query API to implement a autocomplete Feature for adresses . The following json is what comes back from the API. (I've limited the maxResults to 2 for Overview. So far everything works fine.

 

 

{
 "authenticationResultCode": "ValidCredentials",
 "brandLogoUri": "http://dev.virtualearth.net/Branding/logo_powered_by.png",
 "copyright": "Copyright © 2020 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.",
 "resourceSets": [
 {
 "estimatedTotal": 2,
 "resources": [
 {
 "__type": "Location:http://schemas.microsoft.com/search/local/ws/rest/v1",
 "bbox": [
 42.221472282630124,
 -91.9173596561078,
 42.229197717771477,
 -91.903450343926181
 ],
 "name": "55th Street Dr, Urbana, IA 52349",
 "point": {
 "type": "Point",
 "coordinates": [
 42.2253350002008,
 -91.910405000017
 ]
 },
 "address": {
 "addressLine": "55th Street Dr",
 "adminDistrict": "IA",
 "adminDistrict2": "Benton County",
 "countryRegion": "United States",
 "formattedAddress": "55th Street Dr, Urbana, IA 52349",
 "locality": "Urbana",
 "postalCode": "52349"
 },
 "confidence": "Medium",
 "entityType": "RoadBlock",
 "geocodePoints": [
 {
 "type": "Point",
 "coordinates": [
 42.2253350002008,
 -91.910405000017
 ],
 "calculationMethod": "Interpolation",
 "usageTypes": [
 "Display"
 ]
 }
 ],
 "matchCodes": [
 "Ambiguous"
 ],
 "queryParseValues": [
 {
 "property": "AddressLine",
 "value": "55th street"
 }
 ]
 },
 {
 "__type": "Location:http://schemas.microsoft.com/search/local/ws/rest/v1",
 "bbox": [
 42.221260829189724,
 -91.930334457410382,
 42.228986264331077,
 -91.916425191809608
 ],
 "name": "55th Street Dr, Vinton, IA 52349",
 "point": {
 "type": "Point",
 "coordinates": [
 42.2251235467604,
 -91.92337982461
 ]
 },
 "address": {
 "addressLine": "55th Street Dr",
 "adminDistrict": "IA",
 "adminDistrict2": "Benton County",
 "countryRegion": "United States",
 "formattedAddress": "55th Street Dr, Vinton, IA 52349",
 "locality": "Vinton",
 "postalCode": "52349"
 },
 "confidence": "Medium",
 "entityType": "RoadBlock",
 "geocodePoints": [
 {
 "type": "Point",
 "coordinates": [
 42.2251235467604,
 -91.92337982461
 ],
 "calculationMethod": "Interpolation",
 "usageTypes": [
 "Display"
 ]
 }
 ],
 "matchCodes": [
 "Ambiguous"
 ],
 "queryParseValues": [
 {
 "property": "AddressLine",
 "value": "55th street"
 }
 ]
 }
 ]
 }
 ],
 "statusCode": 200,
 "statusDescription": "OK",
 "traceId": "6054522a30434ed5ab32d69f743a312e|DU00000D59|0.0.0.1|Ref A: 34A1FF39582147659D0AB5B6445FF55B Ref B: DB3EDGE1015 Ref C: 2020-08-03T12:17:57Z"
}

 

 

The Problem I encounter is now that I only can acess the following properties of the Connector in the Powerapp: "authenticationResultCode", "brandLogoUri", "copyright", "resourceSets"(but only this, I can't expand further to "resource"), "estimatetTotal", "statusCode", "statusDescription" and "traceId". The properties I would need are "name" and the "point"-Array.  I know it would be possible to drill the whole thing through a flow, but this isn't an option for me because of performance. (Who wants to wait a minute on a flow for autocomplete). Can anyone of you help me solve this problem or is this not solvable with powerapps?

Categories:
I have the same question (0)
  • SaiKrishnaGudluru Profile Picture
    499 on at

    probably you can use "Compose" or use "apply to each" and while inputting the value to those use "body('http')?['resourceSets']. So, in the apply to each "current item" - you can be able to retrieve the properties of resourceSets

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 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard