cancel
Showing results for 
Search instead for 
Did you mean: 

In Nuxeo, How to detect that a document is already open by nuxeo drive.

steeve_gagnon
Champ in-the-making
Champ in-the-making

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.

3 REPLIES 3

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

I would say the best strategy is to configure Drive to lock the documents opened with Direct Edit

type an image title

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

automation script / automation chain ignore the lock on the document

That looks strange. You should detect if `ecm

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.