cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Trying to use REST API to Check In and Check Out a document in a library

Hello experts / @sergeluca 

 

I was able to achieve flow trigger when a document is checked in to a share point library from this post

but it is not working when I document is checked out, wondering if there is a trick for this as well.

 

When a document is checked out, it doesn't trigger the flow? Any advise, alternate solution?

 

I know there is already an idea for this but wondering if it is solved while waiting on solution from Flow team.

 

Thanks in advance,

Parv

1 REPLY 1
Highlighted
Super User II
Super User II

Re: Trying to use REST API to Check In and Check Out a document in a library

File check in/outs are not currently supported by the SharePoint connector, but it is currently a Planned feature on the product roadmap

Please see the Working with folders and files with REST SharePoint documentation and @Chakkaradeep's blog post, Working with the SharePoint Send HTTP Request flow action. You can query the CheckOut status via REST using a query such as:

api/web/GetFileByServerRelativeUrl('{everythingAfterTheDomainUpToTheFilename}/{filenameWithExtension}')/CheckOut()

Finally, the Plumsail SP connector is currently in Preview and offers checking in and checking out of documents with Flow. See their, How to check-in multiple SharePoint documents in Microsoft Flow and Azure Logic Apps blog post. As it is in preview, your mileage may vary.

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!

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (6,896)