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 / Append to each Graph A...
Power Apps
Unanswered

Append to each Graph API listitemID return columns in collection

(0) ShareShare
ReportReport
Posted on by 103

Hi all,

I just got inspired by the video @RezaDorrani  Power Apps: 🔍 Search SharePoint Lists without Delegation Issues 💪 - YouTube. 

 

I want to use the return from the Search Graph API and build a collection from the return. To each itemlistID from the search return, I want to append the right columns values in the collection. So that the user can search not via title but with columns.

 

I save the search call (Untyped object) in a Collection:

 

ClearCollect(colDepartmentLib;Table(Index(Table(Index(Table(searchResults.value);1).Value.hitsContainers);1).Value.hits));;

 

 

Now in each value in hits there is a ListItemID. I want to go through each item and add the correct value like department any other value in sharepoint which is not included in the search api with each ListItemID.

 

Therefore, I want to use a crawler to attach the correct department (any other column) in a collection to each value of colDepartmentLib. 

 

//Crawl to each value and append this value in collection
LookUp(colDepartmentLib; ID= Value(ThisItem.Value.resource.fields.listItemID)).Department

 

My assumption is I need to create a crawler for each value in the colDepartmentLib and go through each value and add with LookUp the right value. 

 

Hope someone has an idea how to build this,

Cheers and thanks!

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard