Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

SharePoint Document Library column metadata retrieval

(0) ShareShare
ReportReport
Posted on by

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

 

 

  • Verified answer
    ScottShearer Profile Picture
    25,228 Most Valuable Professional on at
    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.

     

     

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492