<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>www.cubetoon.com - christian's braindump about Lotus Notes/Domino development and administration &#187; Best Practices</title>
	<atom:link href="http://www.cubetoon.com/category/best-practices/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cubetoon.com</link>
	<description>christian's braindump about Lotus Notes/Domino development and administration</description>
	<lastBuildDate>Wed, 01 Sep 2010 20:25:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/</creativeCommons:license>		<item>
		<title>Frame design Best Practices Part II</title>
		<link>http://www.cubetoon.com/2008/frame-design-best-practices-part-ii/</link>
		<comments>http://www.cubetoon.com/2008/frame-design-best-practices-part-ii/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 23:58:41 +0000</pubDate>
		<dc:creator>cubetoon</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Lotus Notes]]></category>

		<guid isPermaLink="false">http://www.cubetoon.com/2008/frame-design-best-practices-part-ii/</guid>
		<description><![CDATA[Extending on my previous article on Frame design Best Practices I have found something else worth mentioning that is not written in any designer help. When trying to open the preview pane within a 3rd party application today I got presented with an error message: &#8220;Cannot execute the specified command.&#8221; It is important to note [...]]]></description>
			<content:encoded><![CDATA[<p>Extending on my previous article on <a href="http://www.cubetoon.com/2007/frame-design-best-practices/" title="Frame design best practices" target="_blank">Frame design Best Practices</a> I have found something else worth mentioning that is not written in any designer help.</p>
<p>When trying to open the preview pane within a 3rd party application today I got presented with an error message: &#8220;Cannot execute the specified command.&#8221;<span id="more-140"></span></p>
<p>It is important to note that the preview pane is not part of the design of a standard frameset. In order to be able to allow users to preview documents you actually need to create another frame with the name of NotesPreview. The size of the frame can be 0 pixels as it does not need to show up initially.  The NotesView frame described in previous article also requires the target frame to be set to NotesPreview. These two settings combined allow the user to open the document preview using the View -&gt; Document Preview -&gt; Show Preview action.</p>
<p>Example:</p>
<table border="1" height="331" width="450">
<tr>
<td colspan="2" height="21" width="288">
<p align="center">Header</p>
</td>
</tr>
<tr>
<td rowspan="2" height="359" width="65">NotesNavigator<br />
(target NotesView)</td>
<td height="302" width="217">
<p align="center">NotesView<br />
(target NotesPreview)</p>
</td>
</tr>
<tr>
<td height="57" width="217">
<p align="center"><strong>NotesPreview</strong></p>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.cubetoon.com/2008/frame-design-best-practices-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doclink does not open with LS created Doclink</title>
		<link>http://www.cubetoon.com/2007/doclink-does-not-open-with-ls-created-doclink/</link>
		<comments>http://www.cubetoon.com/2007/doclink-does-not-open-with-ls-created-doclink/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 02:37:27 +0000</pubDate>
		<dc:creator>cubetoon</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Lotus Notes]]></category>

		<guid isPermaLink="false">http://www.cubetoon.com/2007/doclink-does-not-open-with-ls-created-doclink/</guid>
		<description><![CDATA[Today I had an interesting issue I definitely need to put out here to be able to rememberÂ it in the future. I used a piece of code (see below) toÂ append aÂ link to a document, sent out via an email message to another user. When the recipient opened that message and clicked the doclink a dialogue [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had an interesting issue I definitely need to put out here to be able to rememberÂ it in the future.</p>
<p>I used a piece of code (see below) toÂ append aÂ link to a document, sent out via an email message to another user. When the recipient opened that message and clicked the doclink a dialogue box came up &#8220;The Doclink database cannot be located.&#8221; asking the user to select the server where the linked database is located. This issue however did only happen in some circumstances.<span id="more-121"></span></p>
<p><code>' create notification document<br />
Â Set docMemo = New NotesDocument (db)<br />
Â With docMemo<br />
Â  .form="Memo"<br />
Â  .SendTo=vSendTo<br />
Â  .CopyTo = vCopyTo<br />
Â  .Subject = sSubject<br />
Â Â .ReplyTo=session.UserName<br />
Â End With<br />
Â Set rtitem = New NotesRichTextItem (docMemo,"Body")<br />
Â Call rtitem.AppendText (sMessage)<br />
Â Call rtitem.AddNewline (2)<br />
Â Call rtitem.AppendDocLink (vDocLink,"")<br />
Â Call rtitem.AppendText (" &lt;- link to document")<br />
Â Call docMemo.Send(False)</code></p>
<p>Researching thatÂ error messageÂ at the IBM knowledge base I found a <a target="_blank" href="http://www-1.ibm.com/support/docview.wss?uid=swg21089318" title="Doclink Created via the AppendDocLink Method Does Not Open Document Directly">document</a> describing exactly the sameÂ issue.</p>
<p>TheÂ problem only arises in various circumstances where the linked document is found on a differentÂ server then the user&#8217;s mail file andÂ the comment$ parameter of the AppendDocLink method is an empty string.Â The problem is described different for version 4 and 5 of Lotus Notes. However, I discovered itÂ happeningÂ in Lotus Notes 6.5 too.</p>
<p>As a workaround it is suggested to not submit an empty string asÂ comment$, this however is only working as long as the user &#8216;lives&#8217; in the same hierarchy as the id (user) creating the document link.</p>
<p>Lessons learned: I guess that&#8217;s another point on the Best Practices list for future development &#8211; &#8220;Never leave the comment$ parameter empty&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cubetoon.com/2007/doclink-does-not-open-with-ls-created-doclink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Name Field Maintenance Part II (Development)</title>
		<link>http://www.cubetoon.com/2007/name-field-maintenance-part-ii/</link>
		<comments>http://www.cubetoon.com/2007/name-field-maintenance-part-ii/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 06:52:06 +0000</pubDate>
		<dc:creator>cubetoon</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Lotus Domino]]></category>
		<category><![CDATA[Lotus Notes]]></category>

		<guid isPermaLink="false">http://www.cubetoon.com/2007/name-field-maintenance-part-ii/</guid>
		<description><![CDATA[This is the follow up to my last entry with regards to name fields in Lotus Notes/Domino applications. While Part I had been focused on the Administration side I am now continuing with the Development aspects. When developing a Lotus application the first question would be whether name fields will be required at all and [...]]]></description>
			<content:encoded><![CDATA[<p>This is the follow up to my last entry with regards to name fields in Lotus Notes/Domino applications. While <a href="http://www.cubetoon.com/2007/name-field-maintenance-part-i/" title="Name Field Maintenance Part I (Administration)">Part I</a> had been focused on the Administration side I am now continuing with the Development aspects.</p>
<p>When developing a Lotus application the first question would be whether name fields will be required at all and if so what kinds of fields are required. If it is decided that no name fields are required I would still suggest following my other <a href="http://www.cubetoon.com/2007/reader-fields-part-ii/" title="Reader fields part II">comment</a> regarding the prevention of the use of the $Readers field.</p>
<p><span id="more-99"></span></p>
<p>If however the specification involves the use of name fields the following two questions should be considered:</p>
<ul>
<li>Does the name stored within a field require to be maintained with the change of the legal name?<br />
If so the name needs to be stored to a names field.<br />
If however, the name in the document must not change with the change of the legal name of a person, this information should rather be stored in a text field or a Names field with the ACL setting to maintain Reader and Author fields only. This case is usually required for record management purposes and to store the initial author of a document. If the name of the author would have been stored in a name field and the employee decides to resign, the name stored in the field used to display the author of a document would be blanked out once the account gets deleted.</li>
<li>How are names supposed to be displayed; Hierarchical, Canonical, Abbreviate, you name it?<br />
Names in name fields are always stored using the full hierarchical name. This includes component labels for all parameters. If the name is only supposed to be displayed as common name, it should be stored and maintained in a hidden names field and displayed using a computed for display field or a computed text.</li>
</ul>
<p>Author fields only apply for users with Author access assigned to them in the ACL. If less access (e.g. Reader) were defined, Author fields would not grant them Editor access to document. Once they have Editor access (and above) they are able to edit all documents they see regardless of Author fields.</p>
<p>Readers fields however effect the visibility of documents. Entities not listed in any Readers field of a document are not able to see documents with at least one active Readers field irrespective of their ACL rights. This restriction can only be overwritten using the Full Access Administration access that got introduced with version 6 of Lotus Notes/Domino.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cubetoon.com/2007/name-field-maintenance-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frame design Best Practices</title>
		<link>http://www.cubetoon.com/2007/frame-design-best-practices/</link>
		<comments>http://www.cubetoon.com/2007/frame-design-best-practices/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 09:40:27 +0000</pubDate>
		<dc:creator>cubetoon</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Lotus Domino]]></category>
		<category><![CDATA[Lotus Notes]]></category>

		<guid isPermaLink="false">http://www.cubetoon.com/2007/frame-design-best-practices/</guid>
		<description><![CDATA[Today I learned about an interesting Lotus Notes design feature, which is definitely eligible to be shared (of course) and placed to the Development Best Practices list. The current application I am coding does make use of three frames within a frame set to have it appearing more professional then the standard R5 View Navigator. [...]]]></description>
			<content:encoded><![CDATA[<p>Today I learned about an interesting Lotus Notes design feature, which is definitely eligible to be shared (of course) and placed to the Development Best Practices list.</p>
<p>The current application I am coding does make use of three frames within a frame set to have it appearing more professional then the standard R5 View Navigator. Until today I did never bother about any naming conventions of these frames. One had to be the header, the left one the navigation and the right one the mainframe.</p>
<p>But: if you don&#8217;t want your application falling back to the ugly view navigator on the left hand side when somebody is opening a view link or tries to open a view from the View -&gt; Goto Menu it is important to have at least one frame named &#8220;NotesView&#8221;. This frame is obviously internally used to define the main frame of the application and with it the target of each undefined view or document link.</p>
<p>The <a href="http://www-1.ibm.com/support/docview.wss?uid=swg21093801" title="Frame design best practices">information</a> I found at IBM related to this issue is related to version R5 of Lotus Notes. I am not 100 percent sure whether this still applies for version 7 but I successfully tested it in version 6.5 today.</p>
<p><span id="more-98"></span></p>
<p>That works:</p>
<table border="1" height="331" width="450">
<tr>
<td colspan="2" height="21" width="288">
<p align="center">Header</p>
</td>
</tr>
<tr>
<td height="302" width="65">Navigation</td>
<td height="302" width="217">
<p align="center"><strong>NotesView</strong></p>
</td>
</tr>
</table>
<p>That does not:</p>
<table border="1" height="331" width="450">
<tr>
<td colspan="2" height="21" width="288">
<p align="center">Header</p>
</td>
</tr>
<tr>
<td height="302" width="65">Navigation</td>
<td height="302" width="217">
<p align="center">Main Frame</p>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.cubetoon.com/2007/frame-design-best-practices/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Name Field Maintenance Part I (Administration)</title>
		<link>http://www.cubetoon.com/2007/name-field-maintenance-part-i/</link>
		<comments>http://www.cubetoon.com/2007/name-field-maintenance-part-i/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 08:16:42 +0000</pubDate>
		<dc:creator>cubetoon</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Lotus Domino]]></category>
		<category><![CDATA[Lotus Notes]]></category>

		<guid isPermaLink="false">http://www.cubetoon.com/2007/name-field-maintenance-part-i/</guid>
		<description><![CDATA[Names can (and will) alter. There are marriages, divorces, organisational changed or changes in the hierarchy of an user name. Each change requires individual action to maintain these names for each individual document, each database on all possible server. Sounds like a tedious task? This article describes some of the settings to be considered from [...]]]></description>
			<content:encoded><![CDATA[<p>Names can (and will) alter. There are marriages, divorces, organisational changed or changes in the hierarchy of an user name. Each change requires individual action to maintain these  names for each individual document, each database on all possible server. Sounds like a tedious task?</p>
<p>This article describes some of the settings to be considered from the Administration (Part I) as well as best practices from the Development (Part II) perspective when working with name fields in Lotus Notes/Lotus Domino applications.</p>
<p><span id="more-94"></span></p>
<p>A Lotus documents can have three different kinds of name fields. These are Readers, Author and Name fields whereas a Readers and an Author field are kind of an extension of a Name field with some more specific characteristics that had partially been discussed <a href="http://www.cubetoon.com/2007/reader-fields-part-ii/" title="Readers Fields Part II">earlier</a>.</p>
<p>As the description suggests, Name fields are used to store names in Lotus documents. Names can be of any kind; users, servers, groups, &#8230; and are mainly used to define the access to individual documents.</p>
<p>The renaming process of an entity should solely be initiated using the Domino Administrator Client. This ensures that the request to rename an entity is submitted to the Administration Request database (admin4.nsf) and subsequently processed by the AdminP task on the server(s).</p>
<p>The AdminP process ensures, that all possible references to the name in question are maintained at all places like the Domino Directory, the Access Control Lists (ACL) or the documents within databases. The configuration of the Administration Server in the Advanced ACL settings of a Database defines if Names are going to be maintained in this database and what server of the Domino Domain is responsible to do these updates.</p>
<p><a href="http://www.cubetoon.com/wp-content/uploads/2007/06/adminserver.jpg" title="Administration Server"><img src="http://www.cubetoon.com/wp-content/uploads/2007/06/adminserver.thumbnail.jpg" alt="Administration Server" align="left" hspace="4" vspace="4" /></a></p>
<p>If the Administration server were set to None, not even the ACL of the database would be touched. Care should be taken by configuring the Administration server. A replica of the database must exist on the server defined as the Administration server. If Name fields have to be maintained as well a full replica of the database must exist on the server defined, since documents that are not available in the database cannot be maintained. If a database is moving from server A to server B the Administration server setting has to be altered to reflect the new server name.</p>
<p>The two other options beneath &#8216;Do not modify Name fields&#8217; for the Administration server actions are &#8216;Modify all Readers and Author fields&#8217; and &#8216;Modify all Name fields&#8217;. As explained above, configuring an Administration server for a database but leaving the Action set to &#8216;Do not modify Name fields&#8217; ensures that all entities within the ACL of the database are maintained but no documents will be touched at all.</p>
<p>Choosing the option &#8216;Modify all Readers and Author fields&#8217; ensures that all Readers and Author fields in all documents of this database are maintained whereas the &#8216;Modify all Name fields&#8217; guarantees that all Name fields will be maintained which includes Readers and Author fields.</p>
<p>Some patience should be exercised with the name change process itself since it consists of various subsequent tasks the AdminP process has to undertake. After submitting a request to change the name of a person the user has to connect to the server at least once. Depending on the ID security settings that can be found under File -&gt; Security -&gt; User Security, Your Identity -&gt; Your Names -&gt; Name Changes (see below) the user will or will not be asked for approval before the change of the name continues.</p>
<p><a href="http://www.cubetoon.com/wp-content/uploads/2007/06/acceptnamechanges.JPG" title="Accept Name Changes"><img src="http://www.cubetoon.com/wp-content/uploads/2007/06/acceptnamechanges.thumbnail.JPG" alt="Accept Name Changes" align="right" hspace="4" vspace="4" /></a></p>
<p>Considering that the user has accepted the change request the name stored in the user&#8217;s ID file will be altered and a request to change the name in the Domino Directory will be submitted to the Administration Requests database. This request will be actioned by the Administration process within one hour. Following this a number of subsequent tasks are added to the Administration Requests:</p>
<ul>
<li>The request to maintain the name in all ACL, to be completed within one hour.</li>
</ul>
<ul>
<li> The request to rename the person in the Free Time Database, in Calendar entries and the mail file process, to be completed immediately as well as the renaming in unread lists.</li>
</ul>
<ul>
<li> The rename of the person in person documents, to be completed within one day and the  request to rename the person in Reader/Author fields to be completed within one week.</li>
</ul>
<p>The time frames given can be considered as a deadline for the Administration Process. Server with fewer loads will be able to process the  requests more frequently.</p>
<p><a href="http://www.cubetoon.com/wp-content/uploads/2007/06/namechangereport.jpg" title="Administration Requests Name Change"><img src="http://www.cubetoon.com/wp-content/uploads/2007/06/namechangereport.thumbnail.jpg" alt="Administration Requests Name Change" align="left" hspace="4" vspace="4" /></a></p>
<p>It is important to keep in Mind that the centre part of the whole renaming process is the Administration Request database (admin4.nsf), which must reside and replicate to any server in the domain. The database maintains all information in regards to the name change and discloses the current status as shown in the example request beneath.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cubetoon.com/2007/name-field-maintenance-part-i/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
