I have a program and a plugin
which makes me a indesign document via indesign server
.
On running the program, it would make some API calls like openDoc, CreateElement, closeDoc
etc and make the document ready.
Once the server opens the file on mac, it would create a .idlk
file which would prevent the user from opening this document ( using indesign viewer).
As the Server instance which my program invokes isn't ended the .idlk
file is still present.
What i want to know is, whether there is any API
to release the lock on document ?
As i see from this link the lock and unlock calls are pertaining to layers and guides, not for the document.