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.
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!
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
User | Count |
---|---|
27 | |
16 | |
11 | |
8 | |
5 |
User | Count |
---|---|
9 | |
5 | |
3 | |
3 | |
2 |