As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.
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/listOperations (search "Drive")
Regards
automation script / automation chain ignore the lock on the document
That looks strange. You should detect if `ecm