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
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

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 Solution Authors
Top Kudoed Authors
Users online (5,037)