My organization is beginning the final conversion of our old database to full 64bit with v18. One feature we definitely need is a way to lock a 4D WP document. I’m not talking about “Freeze Expressions”, I’m talking about locking the document such that it cannot be edited.
The documentation for “Importing 4D Write documents” has a list of properties that will be recovered from a 4D Write document. For the lock it specifically says:
Locked Not available (use read-only object property)
I’m not concerned with determining whether the old document was locked, there are mechanisms in place that allow us to know whether a lock is appropriate. What I need to know is how to get back to that locked state. I’ve dug all around API and haven’t found anything promising, the toolbar that comes standard in v18 does not have an obvious locking mechanism, and I can’t help but feel I’m missing something obvious.
So the question is: How do I lock a 4D Write Pro document to prevent all edits?