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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

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