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

SharePoint Document Library column metadata retrieval

Hi

 

I have folders in a SharePoint Document libray. There are a few custom columns e.g. customer name

I want to retrieve only the customer names attached to folders.

 

My current solution is using the Get Files (properties only) action then Parsing the Json for the Customer Name column field.  I then initialize an array variable and appending each Customer Name to an array.

 

Its usable but very inefficient especially when there are lots of folders

Is there a better way?

 

Thank you

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: SharePoint Document Library column metadata retrieval

@Anonymous :

You might try creating a view of the document library that includes only the Customer name field.  Then, reference that view in the Get Files (properties only) action in the Limit Columns by View field.  This should limit the data retrieved by the action to only that column.  Click on "Show Advanced Options" in the action to expose the Limit columns by view filed.

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

1 REPLY 1
Super User
Super User

Re: SharePoint Document Library column metadata retrieval

@Anonymous :

You might try creating a view of the document library that includes only the Customer name field.  Then, reference that view in the Get Files (properties only) action in the Limit Columns by View field.  This should limit the data retrieved by the action to only that column.  Click on "Show Advanced Options" in the action to expose the Limit columns by view filed.

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 332 members 4,926 guests
Please welcome our newest community members: