Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello Gurus!
So, I've been facing a problem and I would like to know if you could help me to solve it. Please, let me explain you a little bit about what I'm doing.
I implemented this plug-in in the Editor which allows me to load some XML files and modify the document according to the XML, however, while I'm loading the file I'm making the modifications and I wouldn't like that someone could try to manually modify some content in the file at the same time. Is there a way to lock the file I'm using and modifying or maybe the editor itself while I'm executing a task?
In advance I appreciate so much your time and response.
Paulette Zorrilla
Hi Paulette,
What version of Editor are you working with? When I try to open a document my co-worker has open, my Editor opens it as read-only.
Since your ACL is modifying the document, maybe you can use the doc_read_only function to determine the status before continuing the code?