In Nuxeo, How to detect that a document is already open by nuxeo drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2021 01:50 PM
Hello,
In an automation script (javascript), I need to know if a Word document is currently open (by nuxeo drive) before doing operations on it. Is it possible to receive the same information in the webUI? Is it possible to receive the same information in a automation chain ?
Thank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2021 02:23 PM
Hello,
I would say the best strategy is to configure Drive to lock the documents opened with Direct Edit
I don't see any "Drive related" property which can help you in automation chain/scripting. Maybe look what you can do with the available operations: https://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/listOperation... (search "Drive")
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2021 02:27 PM
automation script / automation chain ignore the lock on the document
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2021 05:11 PM
That looks strange. You should detect if `ecm
