cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
parvchana
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
Brad_Groux
Super User II
Super User II

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,217)