<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="http://ideajam.net/ideajam/p/ij.nsf/rsstransform.xslt"?>
<rss version="2.0">
<channel>
	<language>en-us</language>
	<lastBuildDate>Wed, 22 May 2013 21:48:54 +0000</lastBuildDate>
	<title>IdeaJam(tm) : Add a optional parameter REFItemName for work with hierarchies of responses</title>
	<description>An RSS feed generated by IdeaJam(tm) for Add a optional parameter REFItemName for work with hierarchies of responses</description>
	<link>http://ideajam.net/ideajam/p/ij.nsf</link>
	<image>
	    <title>IdeaJam(tm) : Add a optional parameter REFItemName for work with hierarchies of responses</title>
	    <url>http://ideajam.net/ideajam/p/ij.nsf</url>
	    <link>http://ideajam.net/ideajam/p/ij.nsf/LogoSquare.gif?OpenImageResource</link>
	</image>
	<item>
		<pubDate>Mon, 23 Nov 2009 14:45:40 +0000</pubDate>
		<title>Domino Designer / : Add a optional parameter REFItemName for work with hierarchies of responses</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Vlad Sh&lt;br&gt;&lt;b&gt;Tags:&lt;/b&gt;  &lt;a href="http://ideajam.net/IdeaJam/P/ij.nsf/ProductByCategory?openview&amp;restricttocategory=LotusScript"&gt;LotusScript&lt;/a&gt;  &lt;a href="http://ideajam.net/IdeaJam/P/ij.nsf/ProductByCategory?openview&amp;restricttocategory=@function"&gt;@function&lt;/a&gt; &lt;br&gt;&lt;b&gt;Idea:&lt;/b&gt; 
&lt;div&gt;REFItemName = &amp;quot;$REF&amp;quot; by default or omit this parameter.&lt;br /&gt;
&lt;br /&gt;
apply to following methods:&lt;br /&gt;
Call notesDocument.MakeResponse(document As NotesDocument, [ REFItemName As String &#93;)&lt;br /&gt;
Set notesDocumentCollection = notesDocument.Responses( [ REFItemName As String &#93; )&lt;br /&gt;
@Command([ComposeWithReference&#93;; server : database ; form ; flags ; [ REFItemName &#93;)&lt;br /&gt;
@Responses([ REFItemName &#93;)&lt;br /&gt;
&lt;br /&gt;
probably need to take into account:&lt;br /&gt;
notesDocument.ParentDocumentUNID&lt;br /&gt;
IsResponse&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;EDITED&lt;/strong&gt;: MakeResponse or ComposeWithReference can be excluded from this list, but then give a chance to create item type of &amp;quot;Response Reference List&amp;quot;, because now it correctly you can create only MakeResponse method.&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;&lt;br&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8C67D189FA072A0486257677005115D7?OpenDocument</link>
	</item>
	<item>
		<pubDate>Mon, 23 Nov 2009 14:53:46 +0000</pubDate>
		<title>re: Add a optional parameter REFItemName for work with hierarchies of responses</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Peter Presnell&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Hi Vlad. I'm struggling to understand why we would want to change the name of the reserved field always used to denote the parent document. I would suspect there is a whole lot of Notes code that depends on this field being what it is and at the very least there would be a perfromance hit if Notes had to search through all the fields in a document to find if such a field exists (and what would it do if there was more than 1?).&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8C67D189FA072A0486257677005115D7?opendocument&amp;#commentsanc&amp;id=69F3060EB514A4C4862576770051D3AE</link>
	</item>
	<item>
		<pubDate>Mon, 23 Nov 2009 16:02:14 +0000</pubDate>
		<title>re: Add a optional parameter REFItemName for work with hierarchies of responses</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Vlad Sh&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Hi, Peter. &lt;br /&gt; &lt;br /&gt; We can do custom hierarchy, that is to build the hierarchy of types of responses to a different field that has a special type of "Response Reference List" with a value in the form of 32-byte number. &lt;br /&gt; &lt;br /&gt; In the view of simply redefined item, which by default ($REF), for example, before SELECT in the view selecting formula write: &lt;br /&gt; DEFAULT $REF := $RefCustom &lt;br /&gt;This enables the formation of different hierarchies, for various dependencies. &lt;br /&gt; &lt;br /&gt; So, to create such a field (type of "Response Reference List") necessary to copy now $REF somewhere, then do makeResponse another "parent", rename, resulting in $REF to $RefCustom (or another name) and then return the old $REF in place ... &lt;br /&gt; And in order to get all the "child's" to the "parent" of $RefCustom, must either create an additional view to the selection by UNID or use notesDatabase.Search, that differently, but still affects the performance is not improved. &lt;br /&gt; I proposed setting and functionality techniques could elegantly solve these problems. &lt;br /&gt; &lt;br /&gt; I apologize for my English.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8C67D189FA072A0486257677005115D7?opendocument&amp;#commentsanc&amp;id=C67861585013552D8625767700581890</link>
	</item>
</channel></rss>
