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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,412)