Add actions to check in, check out and publish files in a Sharepoint Library
Happy to announce that this is now rolling out! Check the SharePoint connector today to see three new actions:
1. Check in file
2. Check out file
3. Discard check out
The 'Get file properties' action will also be updated in the coming weeks to include check in/check out status in the output.
We are looking forward to support for publishing SharePoint items, e.g. for publishing SharePoint Modern Site Pages using Microsoft Flow. Can you provide a timeframe when we can expect support for this?
That blog post doesn't actually address the "check out" functionality mentioned in the idea above.
Or am I missing something?
The idea is about "check-in" and "check-out". This blog post shows how to use "check-in". There is also check out action available. You can use it the same way as it shows for check-in.
Any update on timeline? We've got a few clients chomping at the bit for publishing in Flow so they can stop using legacy workflows!
yes, an OOTB functionality using MS FLOW to check out and check in the files would be awesome.
@Anonymousplease provide this as soon as possible.
When are we getting this?
any updates on this ?
You can check in and out with flow.
Simple way use "Send HTTP Request to SharePoint" and use REST Api.
In my flow a file can be published to 3 different tenants, so in folder i have column to show where file/s is published, so if a file is published to one tenant and i want to publish it to another, i mark it for publishing, then i check in.When Flow runs it will publish to the one where its not published, and then update the metadata so you can see it has been published, that part i needed Check out update Check in.
_api/web/getFileByServerRelativeUrl('/CO/Source/File name with extension ')/checkout()
_api/web/getFileByServerRelativeUrl('/CO/Source/File name with extension ')/checkin()
If you dont want to use alot of Flows on testing, install Postman extensions Through Chrome and there you can test the REST before using them in Flow.
Thank you very much, @makp. Your method worked like a charm.