<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged flag</title>
<link>https://overflow.efficy.io/?qa=tag/flag</link>
<description>Powered by Question2Answer</description>
<item>
<title>Lock document based on field value</title>
<link>https://overflow.efficy.io/?qa=3339/lock-document-based-on-field-value</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm searching for a way to lock a document based on some value in the document itself, so if this value is 1 the document should be locked (no matter if someone is using it or not), apparently in MacroEdit it's using macro &quot;IfReadOnly&quot; to disable fields and &quot;lock.htm&quot; page to check the locking status using macro &quot;GetLockStatus&quot;, so from where Efficy knows if this document is locked or not? and can we manipulate this process to make it based on 2 criteria only for documents (so if flag value is 1 or another user is editing the document then lock it)&lt;/p&gt;

&lt;p&gt;Thank you for your help and advise in advance.&lt;/p&gt;

&lt;p&gt;Best Regards.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3339/lock-document-based-on-field-value</guid>
<pubDate>Thu, 21 Jun 2018 11:34:53 +0000</pubDate>
</item>
</channel>
</rss>