cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Accessing Nested collection

 

So i have created a custom connection that access the sharepoint rest api to get sharepoint user group information.

The results produce a nested collection.  I cannot figure out how to access the data in the nested collection either in a table or looping through the items to concatenate a column like LoginName.

Thank you...

 

 

 

Button:ClearCollect(userGroupData,OpenAPIProgram.GetuserGroups("924","spar","application/json; odata=nometadata"))

 

json returned:

{
"value": [
{
"Id": 3,
"IsHiddenInUI": false,
"LoginName": "SharePoint Assistance Request Owners",
"Title": "SharePoint Assistance Request Owners",
"PrincipalType": 8,
"AllowMembersEditMembership": false,
"AllowRequestToJoinLeave": false,
"AutoAcceptRequestToJoinLeave": false,
"Description": "",
"OnlyAllowMembersViewMembership": true,
"OwnerTitle": "Nickerson, Samuel",
"RequestToJoinLeaveEmailSetting": ""
},
{
"Id": 5,
"IsHiddenInUI": false,
"LoginName": "SharePoint Assistance Request Visitors",
"Title": "SharePoint Assistance Request Visitors",
"PrincipalType": 8,
"AllowMembersEditMembership": false,
"AllowRequestToJoinLeave": false,
"AutoAcceptRequestToJoinLeave": false,
"Description": "",
"OnlyAllowMembersViewMembership": true,
"OwnerTitle": "SharePoint Assistance Request Owners",
"RequestToJoinLeaveEmailSetting": null
}
]
}

 

Collection CreatedRoot of collectionRoot of collection
sub Collectionsub Collection

2 REPLIES 2
Lisabel0
Helper V
Helper V

You could try to open a support ticket here:

https://powerapps.microsoft.com/en-us/support/pro/ticket/

Anonymous
Not applicable

hi @Anonymous I'm sorry to hear about this issue but thank you for posting it in the forum. 

 

Please take a look at the following thread. It is not your exact scenario, but may include some helpful workarounds. If that does not help, please consider submitting a ticket using the link supplied above. 

 

https://powerusers.microsoft.com/t5/General-Discussion/Nested-gallery-trying-to-collect-data-from-1st-sub-gallery/m-p/88108 

 

@Anonymous

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,473)