Checking out a document in a sub library
I have a sub document library that requires check-out. I can't see how I can add a check-out command withing the form where the sub library is used.
-
Official comment
Hi Dale Zach,
unfortunately, this is not yet supported by the sublist. There are plans to enhance this in the future: Enhanced Sublist Features on Modern Forms ยท skybow Product Roadmap
As a workaround for now, you could add a list action on the document library doing the following steps:
1. Go to the list actions of your document library and add a new action. (If you use the Automation Actions Add-In, open the configuration from the command bar on the doc lib)

2. Configure the action
3. Add a HTTP Request action followed by a refresh action
URL
[[@Web.Url]]/_api/web/GetFileByServerRelativeUrl('[[=encodeURIComponent([[FileRef]])]]')/CheckOut()Request Type
POSTHeaders
Accept: application/json;odata=nometadata
IF-MATCH: *Kind regards
skybow Support Team -
Thanks, I will try this out and look forward to the feature in the future.
0
Please sign in to leave a comment.
Comments
2 comments