<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Domino Document Locking Class 1.1</title>
	<atom:link href="http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/</link>
	<description>Things about family, life, coding, and more</description>
	<lastBuildDate>Mon, 16 Jan 2012 03:20:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Chad Schelfhout</title>
		<link>http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/comment-page-1/#comment-2493</link>
		<dc:creator>Chad Schelfhout</dc:creator>
		<pubDate>Tue, 01 Aug 2006 13:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1361#comment-2493</guid>
		<description>Mark,  I have not experienced those messages.  I ran into some problems with clustering and documented it here:&lt;a href=&quot;http://www.chadsmiley.com/chadsmiley/home.nsf/d6plinks/Documents_Stay_Locked&quot; rel=&quot;nofollow&quot;&gt;http://www.chadsmiley.com/chadsmiley/home.nsf/d6plinks/Documents_Stay_Locked&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Since we have been in contact with Lotus and they have produced a hotfix for us.&lt;br /&gt;&lt;br /&gt;Sorry I could not be of more help.</description>
		<content:encoded><![CDATA[<p>Mark,  I have not experienced those messages.  I ran into some problems with clustering and documented it here:<a href="http://www.chadsmiley.com/chadsmiley/home.nsf/d6plinks/Documents_Stay_Locked" rel="nofollow">http://www.chadsmiley.com/chadsmiley/home.nsf/d6plinks/Documents_Stay_Locked</a></p>
<p>Since we have been in contact with Lotus and they have produced a hotfix for us.</p>
<p>Sorry I could not be of more help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Ryan</title>
		<link>http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/comment-page-1/#comment-2495</link>
		<dc:creator>Mark Ryan</dc:creator>
		<pubDate>Tue, 01 Aug 2006 01:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1361#comment-2495</guid>
		<description>Has anybody experienced the replication conflict issue when using document locking in combination with server and local based replicas?&lt;br /&gt;&lt;br /&gt;I finally turned off document locking to avoid this issue which appears to be a bug within Domino.  It occured whenever a record was updated on the server using document locking in a clustered environment when there were also replicas existing on workstations.&lt;br /&gt;&lt;br /&gt;Even though the documents were not updated on the workstations, whenever they replicated to the cluster it generates a series of replication conflicts....&lt;br /&gt;With messages like&lt;br /&gt;Changes made to database &#039;database title goes here&#039; have not been incorporated into the database.  There was a conflict detected.  Your changes may be found in body of this message......&lt;br /&gt;&lt;br /&gt;I finally removed all code (bypassed actually) that performed locking  and turned off the document locking for the database.&lt;br /&gt;&lt;br /&gt;Just curious if you ever experienced this error...</description>
		<content:encoded><![CDATA[<p>Has anybody experienced the replication conflict issue when using document locking in combination with server and local based replicas?</p>
<p>I finally turned off document locking to avoid this issue which appears to be a bug within Domino.  It occured whenever a record was updated on the server using document locking in a clustered environment when there were also replicas existing on workstations.</p>
<p>Even though the documents were not updated on the workstations, whenever they replicated to the cluster it generates a series of replication conflicts&#8230;.<br />With messages like<br />Changes made to database &#8216;database title goes here&#8217; have not been incorporated into the database.  There was a conflict detected.  Your changes may be found in body of this message&#8230;&#8230;</p>
<p>I finally removed all code (bypassed actually) that performed locking  and turned off the document locking for the database.</p>
<p>Just curious if you ever experienced this error&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Schelfhout</title>
		<link>http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/comment-page-1/#comment-2492</link>
		<dc:creator>Chad Schelfhout</dc:creator>
		<pubDate>Sun, 04 Jun 2006 13:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1361#comment-2492</guid>
		<description>Great to see that it will be used.&lt;br /&gt;&lt;br /&gt;Yes the 4 digit validation is easier, thanks.</description>
		<content:encoded><![CDATA[<p>Great to see that it will be used.</p>
<p>Yes the 4 digit validation is easier, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IKram</title>
		<link>http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/comment-page-1/#comment-2494</link>
		<dc:creator>IKram</dc:creator>
		<pubDate>Sat, 06 May 2006 22:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1361#comment-2494</guid>
		<description> Chad  &lt;br /&gt; &lt;br /&gt;Sorry for one more question  &lt;br /&gt; &lt;br /&gt;I used the class in the webquery open like  &lt;br /&gt;flag = DocLock.IsDocumentLocked (wdoc)  &lt;br /&gt; &lt;br /&gt;it is giving &quot;False&quot; if the document is opened in web by user and is not locked  &lt;br /&gt;I am locking it by &quot;Call DocLock.LockDocument(wdoc)&quot; in the same webqueryopen agent  &lt;br /&gt; &lt;br /&gt;if is save i can unlock it like &quot;call DocLock.UnLockDocument(wdoc) in webquerysave but how can i unlock if i just close the document without saving  &lt;br /&gt; &lt;br /&gt;Please help  &lt;br /&gt;</description>
		<content:encoded><![CDATA[<p>Chad  </p>
<p>Sorry for one more question  </p>
<p>I used the class in the webquery open like  <br />flag = DocLock.IsDocumentLocked (wdoc)  </p>
<p>it is giving &#8220;False&#8221; if the document is opened in web by user and is not locked  <br />I am locking it by &#8220;Call DocLock.LockDocument(wdoc)&#8221; in the same webqueryopen agent  </p>
<p>if is save i can unlock it like &#8220;call DocLock.UnLockDocument(wdoc) in webquerysave but how can i unlock if i just close the document without saving  </p>
<p>Please help  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sobczak</title>
		<link>http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/comment-page-1/#comment-2497</link>
		<dc:creator>Michael Sobczak</dc:creator>
		<pubDate>Fri, 28 Apr 2006 00:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1361#comment-2497</guid>
		<description>Not yet, but I&#039;ll need to do something relatively soon. &lt;br /&gt; &lt;br /&gt;My idea was to query the current user&#039;s access level for the current db (using notesDatabase.CurrentAccessLevel).  Based on the way doc locking works, anyone designated as a Manager in the ACL would be able to unlock any document.  So, I&#039;m not sure if adding a role would add any value, since a person could be included in the role but not able to unlock documents they haven&#039;t locked, if they weren&#039;t defined as a Manager. &lt;br /&gt; &lt;br /&gt;I&#039;ll probably look into modifying your code next week.  I can send you what I come up with when I&#039;m done, if you like.</description>
		<content:encoded><![CDATA[<p>Not yet, but I&#8217;ll need to do something relatively soon. </p>
<p>My idea was to query the current user&#8217;s access level for the current db (using notesDatabase.CurrentAccessLevel).  Based on the way doc locking works, anyone designated as a Manager in the ACL would be able to unlock any document.  So, I&#8217;m not sure if adding a role would add any value, since a person could be included in the role but not able to unlock documents they haven&#8217;t locked, if they weren&#8217;t defined as a Manager. </p>
<p>I&#8217;ll probably look into modifying your code next week.  I can send you what I come up with when I&#8217;m done, if you like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Schelfhout</title>
		<link>http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/comment-page-1/#comment-2491</link>
		<dc:creator>Chad Schelfhout</dc:creator>
		<pubDate>Thu, 27 Apr 2006 15:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1361#comment-2491</guid>
		<description>I can see where other people would have the same need.   &lt;br /&gt;&lt;br /&gt;I would like to see it implemented using a role.  If the current user is apart of  &#039;[Unlock Document]&#039; then continue into edit mode after the document is unlocked.  This role should be set by the application, so in another application it could be &#039;[admin]&#039; or &#039;[developer]&#039;.  I could see having a default role of something like &#039;[Unlock Document]&#039;.&lt;br /&gt;&lt;br /&gt;Have you done any coding for this?</description>
		<content:encoded><![CDATA[<p>I can see where other people would have the same need.   </p>
<p>I would like to see it implemented using a role.  If the current user is apart of  &#8216;[Unlock Document]&#8216; then continue into edit mode after the document is unlocked.  This role should be set by the application, so in another application it could be &#8216;[admin]&#8216; or &#8216;[developer]&#8216;.  I could see having a default role of something like &#8216;[Unlock Document]&#8216;.</p>
<p>Have you done any coding for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sobczak</title>
		<link>http://chadsmiley.com/chadsmiley/2005/12/domino-document-locking-class-1-1/comment-page-1/#comment-2496</link>
		<dc:creator>Michael Sobczak</dc:creator>
		<pubDate>Thu, 27 Apr 2006 08:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1361#comment-2496</guid>
		<description>Chad, this class is excellent!  I just incorporated it into a web app I&#039;m currently working on.&lt;br /&gt;&lt;br /&gt;I did find one thing that may be useful to add.  For dbs where I use doc locking, I add a scheduled agent that removes the locks from documents that have been locked for more than a specified # of hours.  The agent would be running with an ID defined as Manager in the ACL.  However, your code only unlocks a doc if the current user is listed as a lock owner.&lt;br /&gt;&lt;br /&gt;What I&#039;m thinking is that it would be useful to have a &quot;manager override&quot; flag, where a document could be unlocked even if the current user isn&#039;t listed as a lock owner.  This special flag would also work if the database owner needed to unlock a document on an emergency basis, and isn&#039;t a lock owner.  What do you think?</description>
		<content:encoded><![CDATA[<p>Chad, this class is excellent!  I just incorporated it into a web app I&#8217;m currently working on.</p>
<p>I did find one thing that may be useful to add.  For dbs where I use doc locking, I add a scheduled agent that removes the locks from documents that have been locked for more than a specified # of hours.  The agent would be running with an ID defined as Manager in the ACL.  However, your code only unlocks a doc if the current user is listed as a lock owner.</p>
<p>What I&#8217;m thinking is that it would be useful to have a &#8220;manager override&#8221; flag, where a document could be unlocked even if the current user isn&#8217;t listed as a lock owner.  This special flag would also work if the database owner needed to unlock a document on an emergency basis, and isn&#8217;t a lock owner.  What do you think?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: chadsmiley.com @ 2012-02-08 14:00:49 -->
