web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint Document Li...
Power Automate
Unanswered

SharePoint Document Library - How to check condition on Site Column

(0) ShareShare
ReportReport
Posted on by

I am trying to setup a Flow on a SharePoint Document Library and have the approval logic dependent upon a site column assocaited with the file/item of the Doc Library.

 

I don't see the availability of the site column when I add a Condition step:

 

SPDocLib-NoColumns.png

 

If I attempt to use the "When a new item is created" trigger and manually type the Document Library name into the List Name field, only the "value" is available to check conditions for:

 

SPDocLib-valueonly.png

 

Anyone know how to gain access to a site column that I can then use as a Condition action check?

 

Thanks!

 

Justin

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: SharePoint Document Library - How to check condition on Site Column

    Ok, so I think I found the solution.  When typing in the List Name in the "When a new item is created" Action, you need to input the Display Name of the Document Library and not the internal name.  The default "Shared Documents" has a name/Url of "Shared%20Documents", but the Display Name is "Documents".

     

    I updated the List Name to "Documents" and the columns are now available to the Condition action:

     

    FlowDocLib-SiteColumns.png

  • DouglasRomao Profile Picture
    224 Most Valuable Professional on at
    Re: SharePoint Document Library - How to check condition on Site Column

    Hi @Anonymous,

     

    I think that unfortunately we are not able to do that at this moment, you can post this like an Ideia at Flow Ideias discussion.

     

    Another approach that you can try is use the SharePoint REST API to get the columns from List/Library, this will able you to use this value.

     

    Regards,

    Douglas Romão

  • Community Power Platform Member Profile Picture
    on at
    Re: SharePoint Document Library - How to check condition on Site Column

    This is NOT solved, you said you wanted to access a "site column", and these are in a parent site not the holding site of the list on which your flow is based.  MSFT in their rather short sighted wisdom have yet to fix this.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard