cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MiteshSudan
New Member

Reference Checked Out To Flow SharePoint Document Library

Hi,

I am new to Flow and would like to reference the 'Checked Out To' column of the SharePoint document library. No problem with all other columns but just not able to reference checked out to column. I have tried multiple options:

 

items('Apply_to_each')?['CheckoutUser']?['DisplayName']

items('Apply_to_each')?['CheckoutUser']?['User.Name']

items('Apply_to_each')?['CheckoutUser']?['OWSUSER']

items('Apply_to_each')?['CheckoutUser']?['USER']

items('Apply_to_each')?['CheckedOutTo']?['DisplayName']

items('Apply_to_each')?['CheckedOutTo']?['User.Name']

items('Apply_to_each')?['Checked_x0020_Out_x0020_To']?['User.Name']

items('Apply_to_each')?['Checked_x0020_Out_x0020_To']?['DisplayName']

 

Any help would be appreciated. 

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @MiteshSudan 

 

I believe that the checked out to as an attribute is not returned on the Get files (Properties) or get file properties actions. When you run the flow with these actions, ou can check the run history and expand these actions to see what all attributes have been returned and you can in turn only use those attributes. (Makes sense?)

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

RezaDorrani
Dual Super User II
Dual Super User II

Hi @MiteshSudan 

 

This is not returned as part of the response object

might be a good item to add to user voice

 

You would have to fire an extra rest api call using http request to SharePoint action to get it

/_api/Web/GetFileByServerRelativeUrl('fileURL')/CheckedOutByUser/LoginName

 

There is a IsCheckedOut property which you check first to see if file is checked out, if Yes then call rest api

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,122)