<?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/"
	>

<channel>
	<title>XpressDox Document Assembly &#187; Help</title>
	<atom:link href="http://www.xpressdox.com/category/help/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xpressdox.com</link>
	<description>Powerful and affordable document assembly</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:03:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Understanding XpressDox Artefacts</title>
		<link>http://www.xpressdox.com/help/cookbook/xpressdox-artefacts/</link>
		<comments>http://www.xpressdox.com/help/cookbook/xpressdox-artefacts/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 12:01:59 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Help]]></category>
		<category><![CDATA[XpressDox Cookbook]]></category>
		<category><![CDATA[OptimizeParsing]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4813</guid>
		<description><![CDATA[When a template runs, XpressDox creates a number of internal structures.  The most important of these is an XSLT Stylesheet.  The stylesheet contains the definition of how the data from an XML data set are to be inserted into the Word template in order to generate the merged document.  The stylesheet is constructed entirely from [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/cookbook/xpressdox-artefacts/" title="Permanent link to Understanding XpressDox Artefacts"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/advanced.jpg" width="177" height="16" alt="Post image for Understanding XpressDox Artefacts" /></a>
</p><p>When a template runs, XpressDox creates a number of internal structures.  The most important of these is an XSLT Stylesheet.  The stylesheet contains the definition of how the data from an XML data set are to be inserted into the Word template in order to generate the merged document.  The stylesheet is constructed entirely from the contents of the XpressDox fillpoints in the template which is run (and in any templates included via <code>«IncludeTemplate()»</code> or <code>«BaseTemplate()»</code> commands).</p>
<p>The other important internal structure is the Schema.  This is created by XpressDox from the stylesheet.  The schema is used to construct the interview in the XpressDox desktop, and also in the browser version of XpressDox.</p>
<p>These internal structures are called “artefacts”, and for large templates the time taken to construct these artefacts can become unacceptably large.  And seeing that the artefacts will be exactly the same each time a template is run, it seems a pity to have to construct them each time.  For this reason XpressDox creates the artefacts only when the template is run for the first time, and after it (or any of its <em>Included </em>or <em>Base </em>templates) has changed.  The artefacts are stored in the “XDArtifacts” sub-folder of the template folder, with the same file name as the template, with the extension changing for each of the artefacts.  On the second and subsequent times that a template is run, instead of re-creating the artefacts, XpressDox reads them out of the XDArtifacts sub-folder. (The XDArtifacts folder is not shown in the XpressDox Explorer, as it would just create clutter).</p>
<p>In fact, on the second and subsequent runs of a template, the template file itself is not used by XpressDox, except that its time stamp is used to compare with the artefact’s time stamp to work out whether the template has changed since the time the artefact was created.</p>
<h3>Suppress artefact creation</h3>
<p>It might be that you (the template author) do not want the template artefacts created, for whatever reason (for small templates (less than about 10-20 pages) this will possibly not make a noticeable difference in execution time).  This can be achieved using the command <a title="The OptimizeParsing Command" href="http://www.xpressdox.com/help/reference/optimizeparsing/" target="_self">«OptimizeParsing(Off)»</a>.</p>
<h3>Restoring backups</h3>
<p>When restoring a backed up version of a template, care must be taken to take the artefacts into account.  This can be done by restoring the backup of the artefacts (in the XDArtifacts folder), or by deleting the artefacts for the restored file.</p>
<p>The reason that this care must be taken is that, for reasons of efficiency, the way that XpressDox determines whether a template has changed since the artefacts were created is by comparing the “Date Modified” of the template with the date modified of the artefact.  In the case where a template is restored from a backup, that template’s date modified is highly unlikely to be later than the artefact files, and so when the template is next run, its contents will be ignored and the artefacts will used to create the interview and to perform the merge.  But the artefacts in this case will have been created from a later version of the template, not the one that was restored, and so restoring the backup of the template on its own, without restoring the backed up version of the artefacts (or deleting the artefacts), will have no effect.</p>
<p>&nbsp;</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/cookbook/xpressdox-artefacts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The SetInterviewDataOnly Command</title>
		<link>http://www.xpressdox.com/help/reference/setinterviewdataonly/</link>
		<comments>http://www.xpressdox.com/help/reference/setinterviewdataonly/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 09:02:53 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Help]]></category>
		<category><![CDATA[User Reference]]></category>
		<category><![CDATA[SetInterviewDataOnly]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4799</guid>
		<description><![CDATA[If the sole purpose of a template is to construct an interview, but the document merged from that template is not required, then the SetInterviewDataOnly command can be included in the template, and the merged document will be ignored. A typical usage of this would be in conjunction with the MergeTemplate function, or the MergePDFForm [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/reference/setinterviewdataonly/" title="Permanent link to The SetInterviewDataOnly Command"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/advanced.jpg" width="177" height="16" alt="Post image for The SetInterviewDataOnly Command" /></a>
</p><p>If the sole purpose of a template is to construct an interview, but the document merged from that template is not required, then the SetInterviewDataOnly command can be included in the template, and the merged document will be ignored.</p>
<p>A typical usage of this would be in conjunction with the <a title="The MergeTemplate Function" href="http://www.xpressdox.com/help/reference/mergetemplate/" target="_self">MergeTemplate</a> function, or the <a title="Filling PDF Forms" href="http://www.xpressdox.com/help/reference/filling-pdf-forms/" target="_self">MergePDFForm</a> function, where the template is a master template and based on the values of data input by the user, different templates are merged using the <em>MergeTemplate </em>(or <em>MergePdfForm</em>) function.</p>
<p>Example:</p>
<blockquote><p><code>&lt;&lt;SetInterviewDataOnly(Yes)&gt;&gt;</code></p></blockquote>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/reference/mergetemplate/' rel='bookmark' title='The MergeTemplate function'>The MergeTemplate function</a></li>
<li><a href='http://www.xpressdox.com/help/reference/filling-pdf-forms/' rel='bookmark' title='Filling PDF Forms'>Filling PDF Forms</a></li>
<li><a href='http://www.xpressdox.com/help/reference/setsaveddocversioning/' rel='bookmark' title='The SetSavedDocumentNameVersioning Command'>The SetSavedDocumentNameVersioning Command</a></li>
<li><a href='http://www.xpressdox.com/help/reference/linktodatasource/' rel='bookmark' title='The LinkToDataSource Command'>The LinkToDataSource Command</a></li>
<li><a href='http://www.xpressdox.com/help/cookbook/master-template/' rel='bookmark' title='Select templates using a master template'>Select templates using a master template</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/reference/setinterviewdataonly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set Web Information for a Template</title>
		<link>http://www.xpressdox.com/help/reference/set-web-information/</link>
		<comments>http://www.xpressdox.com/help/reference/set-web-information/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 08:30:14 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Help]]></category>
		<category><![CDATA[User Reference]]></category>
		<category><![CDATA[SendWebMail]]></category>
		<category><![CDATA[SetWebButtonText]]></category>
		<category><![CDATA[SetWebReturnURL]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4795</guid>
		<description><![CDATA[These commands will enable the template author to control the workflow around templates which are uploaded and run on an XpressDox server. SendWebMail You can provide as many of these commands as necessary. The command can be used to send an email attaching either (or none of) the merged Word document, the merged PDF document [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/reference/set-web-information/" title="Permanent link to Set Web Information for a Template"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/advanced.jpg" width="177" height="16" alt="Post image for Set Web Information for a Template" /></a>
</p><p>These commands will enable the template author to control the workflow around templates which are uploaded and run on an XpressDox server.</p>
<h3>SendWebMail</h3>
<p>You can provide as many of these commands as necessary. The command can be used to send an email attaching either (or none of) the merged Word document, the merged PDF document and/or the data set captured in the interview.</p>
<h3>SetWebButtonText</h3>
<p>This provides an alternative text on the button which by default has the text &#8220;Assemble Document&#8221; on it. Depending on the usage which the template is designed for, it might make sense to change this text to something like &#8220;Submit&#8221;, e.g.</p>
<blockquote><p><code>&lt;&lt;SetWebButtonText(Submit)&gt;&gt;</code></p></blockquote>
<h3>SetWebReturnURL</h3>
<p>Enables the return URL to be provided so that when the interview is complete and the document assembled, this URL is activated.</p>
<p>An example would be:</p>
<blockquote><p><code>&lt;&lt;SetWebReturnURL('www.MyLawFirm.com/DocumentCompleted.php?userID=&lt;UserId&gt;&amp;activity=LoanApplication')&gt;&gt;</code></p></blockquote>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/cookbook/sql-server-data-source/' rel='bookmark' title='Use a SQL Server Data Source to include Customer information on a template'>Use a SQL Server Data Source to include Customer information on a template</a></li>
<li><a href='http://www.xpressdox.com/help/cookbook/data-source-on-all-templates/' rel='bookmark' title='Make data source information available on all templates'>Make data source information available on all templates</a></li>
<li><a href='http://www.xpressdox.com/help/cookbook/master-template/' rel='bookmark' title='Select templates using a master template'>Select templates using a master template</a></li>
<li><a href='http://www.xpressdox.com/help/cookbook/one-template-many-datasets/' rel='bookmark' title='Run a template for a number of data sets, and print the merged documents'>Run a template for a number of data sets, and print the merged documents</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/reference/set-web-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version 3.11.0 Release</title>
		<link>http://www.xpressdox.com/help/new/version-3-11-0/</link>
		<comments>http://www.xpressdox.com/help/new/version-3-11-0/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 19:37:40 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[New in XpressDox]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4728</guid>
		<description><![CDATA[2011-09-27 Version 3.11.0 &#60;&#60;ChooseFromFile()&#62;&#62; permits empty “display data element name” (defaults to the first one) when also including a data element name prefix. The XpressDox SDK has been released.  This facilitates embedding XpressDox into another application and permitting display of the XpressDox interview, and application of XpressDox configuration.  The SDK can be used on PCs [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/new/version-3-11-0/" title="Permanent link to Version 3.11.0 Release"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/supervisor.jpg" width="177" height="16" alt="Post image for Version 3.11.0 Release" /></a>
</p><p><strong>2011-09-27 Version 3.11.0</strong></p>
<ol start="1">
<li>&lt;&lt;ChooseFromFile()&gt;&gt; permits empty “display data element name” (defaults to the first one) when also including a data element name prefix.</li>
<li>The XpressDox SDK has been released.  This facilitates embedding XpressDox into another application and permitting display of the XpressDox interview, and application of XpressDox configuration.  The SDK can be used on PCs that do not have Microsoft® Office installed (although Office is still required for the authoring of templates and XpressDox configuration functions).</li>
</ol>
<p><strong>2011-09-12 Version 3.10.2 (Limited release, Word 2007 and 2010 only)</strong></p>
<ol start="1">
<li>&lt;&lt;ChooseFromData()&gt;&gt; supports backtrack XPATH syntax (i.e. “../” at the start of the path)&gt;&gt;.</li>
<li>A bug in the handling of &lt;&lt;FormatDate(XXX,‘o’)&gt;&gt; has been fixed.</li>
<li>Template Author filtering has been applied to context menus in the XpressDox Explorer, as well as to the “Run This Template” function.</li>
</ol>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/new/version-3-9-2/' rel='bookmark' title='Version 3.9.2 (2011-07-19)'>Version 3.9.2 (2011-07-19)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-9-3/' rel='bookmark' title='Version 3.9.3 (2011-07-27)'>Version 3.9.3 (2011-07-27)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-7-0/' rel='bookmark' title='Version 3.7.0 (2011-04-18)'>Version 3.7.0 (2011-04-18)</a></li>
<li><a href='http://www.xpressdox.com/help/starting/xpressdox-microsoft-word/' rel='bookmark' title='Which version of Microsoft&reg; Office Word do I have?'>Which version of Microsoft&reg; Office Word do I have?</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-2-1-3-1/' rel='bookmark' title='Version 2.1.3.1 (2009-07-27)'>Version 2.1.3.1 (2009-07-27)</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/new/version-3-11-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The ShowIfHasValue Function</title>
		<link>http://www.xpressdox.com/help/reference/showifhasvalue/</link>
		<comments>http://www.xpressdox.com/help/reference/showifhasvalue/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 13:56:17 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[User Reference]]></category>
		<category><![CDATA[ShowIfHasValue]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4692</guid>
		<description><![CDATA[This function is used mainly to get rid of empty paragraphs in a document. &#60;&#60;ShowIfHasValue(AddressLine3)&#62;&#62; will insert the value of the AddressLine3 data element only if that data element has a non-empty value.  If the value IS empty, then the entire paragraph containing the field is removed. Note that this behaviour applies even when there [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/reference/showifhasvalue/" title="Permanent link to The ShowIfHasValue Function"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/intermediate.jpg" width="177" height="16" alt="Post image for The ShowIfHasValue Function" /></a>
</p><p>This function is used mainly to get rid of empty paragraphs in a document.</p>
<p><code>&lt;&lt;ShowIfHasValue(AddressLine3)&gt;&gt;</code></p>
<p>will insert the value of the <em>AddressLine3</em> data element only if that data element has a non-empty value.  If the value IS empty, then the entire paragraph containing the field is removed.</p>
<p class="note">Note that this behaviour applies even when there is other text in the paragraph, and so the function should be used bearing that in mind.</p>
<p>Before this function was introduced, the only other way to achieve the same result would have been to code the following:</p>
<blockquote><p><code>&lt;&lt;If(AddressLine3 != '')&gt;&gt;<br />
&lt;&lt;AddressLine3&gt;&gt;<br />
&lt;&lt;End()&gt;&gt;</code></p></blockquote>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/cookbook/suppressing-empty-lines/' rel='bookmark' title='Suppressing empty lines'>Suppressing empty lines</a></li>
<li><a href='http://www.xpressdox.com/help/reference/trim-function/' rel='bookmark' title='The Trim Function'>The Trim Function</a></li>
<li><a href='http://www.xpressdox.com/help/reference/getlistitem/' rel='bookmark' title='The GetListItem Function'>The GetListItem Function</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-4-1/' rel='bookmark' title='Version 3.4.1 (2011-01-22)'>Version 3.4.1 (2011-01-22)</a></li>
<li><a href='http://www.xpressdox.com/help/reference/renderasnumericn/' rel='bookmark' title='The RenderAsNumeric function'>The RenderAsNumeric function</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/reference/showifhasvalue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The PlaceHolder Command</title>
		<link>http://www.xpressdox.com/help/reference/placeholder/</link>
		<comments>http://www.xpressdox.com/help/reference/placeholder/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 13:55:53 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[User Reference]]></category>
		<category><![CDATA[PlaceHolder]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4696</guid>
		<description><![CDATA[&#60;&#60;PlaceHolder(DummyDataElement)&#62;&#62; will create an invisible control on the interview, but will enable Headings or Footings to be attached to that control. This would be used to include text into an interview screen, and in particular to include text which must appear or disappear depending on certain conditions. For example: &#60;&#60;ChooseFromRDBList(PartyType,Company,Individual)&#62;&#62; &#60;&#60;If(PartyType = 'Company')&#62;&#62; &#60;PlaceHolder(Dummy1)&#62;&#62;&#60;&#60;Heading(Dummy1,Enter the [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/reference/placeholder/" title="Permanent link to The PlaceHolder Command"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/advanced.jpg" width="177" height="16" alt="Post image for The PlaceHolder Command" /></a>
</p><p>&lt;&lt;PlaceHolder(DummyDataElement)&gt;&gt; will create an invisible control on the interview, but will enable Headings or Footings to be attached to that control.</p>
<p>This would be used to include text into an interview screen, and in particular to include text which must appear or disappear depending on certain conditions.</p>
<p>For example:</p>
<blockquote><p><code>&lt;&lt;ChooseFromRDBList(PartyType,Company,Individual)&gt;&gt;<br />
&lt;&lt;If(PartyType = 'Company')&gt;&gt;<br />
&lt;PlaceHolder(Dummy1)&gt;&gt;&lt;&lt;Heading(Dummy1,Enter the Company Registration Number)&gt;&gt;<br />
&lt;&lt;Else()&gt;&gt;<br />
&lt;&lt;PlaceHolder(Dummy2)&gt;&gt;&lt;&lt;Heading(Dummy2,Enter the Passport Number or Social Security Number)&gt;&gt;&lt;&lt;<br />
End()&gt;&gt;</code></p>
<p>The reference number is: <code>&lt;&lt;Reference_Number&gt;&gt;</code></p></blockquote>
<p>When the PartyType is &#8216;Company&#8217; then the heading &#8220;Enter the Company Registration Number&#8221; will appear above the Reference_Number in the interview, otherwise &#8220;Enter the Passport Number or Social Security Number&#8221; will appear there.</p>
<p class="note">Note that the data elements Dummy1 and Dummy2 in this example are named like that because they will not form part of the captured data set, and are not available for use in any other part of the template or merged document.<br />
Each &lt;&lt;PlaceHolder&gt;&gt; command will need its own unique (dummy) data element name.</p>
<p class="note">Typically, the <em>PlaceHolder </em>command would be defined inside a <a title="The Define Command" href="http://www.xpressdox.com/help/reference/define-command/" target="_self">Define command</a>, as the <em>PlaceHolder </em>command is never used on its own but always in conjunction with <a title="Layout the interview form using headings and footings" href="http://www.xpressdox.com/help/reference/layout-using-headings/" target="_self">Heading</a> and/or <a title="Layout the interview form using headings and footings" href="http://www.xpressdox.com/help/reference/layout-using-headings/" target="_self">Footing</a> and perhaps <a title="The Hyperlink Command" href="http://www.xpressdox.com/help/reference/hyperlink/" target="_self">Hyperlink</a>.</p>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/reference/hyperlink/' rel='bookmark' title='The Hyperlink Command'>The Hyperlink Command</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-9-3/' rel='bookmark' title='Version 3.9.3 (2011-07-27)'>Version 3.9.3 (2011-07-27)</a></li>
<li><a href='http://www.xpressdox.com/help/reference/layout-using-headings/' rel='bookmark' title='Layout the interview form using headings and footings'>Layout the interview form using headings and footings</a></li>
<li><a href='http://www.xpressdox.com/help/reference/rule/' rel='bookmark' title='The Rule Command'>The Rule Command</a></li>
<li><a href='http://www.xpressdox.com/help/reference/define-command/' rel='bookmark' title='The Define Command'>The Define Command</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/reference/placeholder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version 3.9.3 (2011-07-27)</title>
		<link>http://www.xpressdox.com/help/new/version-3-9-3/</link>
		<comments>http://www.xpressdox.com/help/new/version-3-9-3/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 13:55:30 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[New in XpressDox]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4702</guid>
		<description><![CDATA[2011-07-27 Version 3.9.3 Functionality has been added to enable XpressDox site supervisors to customise the Shared (or Office) Folders settings in the XpressDox Explorer on a per-department or even per-user basis.  This is done by assigning a new property to a data source (only in the Shared Settings configuration) which causes data from that data [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/new/version-3-9-3/" title="Permanent link to Version 3.9.3 (2011-07-27)"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/supervisor.jpg" width="177" height="16" alt="Post image for Version 3.9.3 (2011-07-27)" /></a>
</p><p><strong>2011-07-27 Version 3.9.3</strong></p>
<ol start="1">
<li>Functionality has been added to enable XpressDox site supervisors to customise the Shared (or Office) Folders settings in the XpressDox Explorer on a per-department or even per-user basis.  This is done by assigning a new property to a data source (only in the Shared Settings configuration) which causes data from that data source to be used as though it were “Standard Data Elements”.  Instructions are in the new XpressDox Supervisor’s Guide which can be downloaded in the usual Supervisor location on the XpressDox web site.</li>
<li>The <code>&lt;&lt;ShowIfHasValue()&gt;&gt;</code> function can be used to show the value of a data element if it has one, but if it is empty then the whole paragraph in which the function appears will be removed.  It means that something like</li>
</ol>
<blockquote><p><code>&lt;&lt;If(AddressLine3 != ‘’)&gt;&gt;<br />
&lt;&lt;AddressLine3&gt;&gt;<br />
&lt;&lt;End()&gt;&gt;</code></p></blockquote>
<p>can be replaced with</p>
<blockquote><p><code>&lt;&lt;ShowIfHasValue(AddressLine3)&gt;&gt;</code></p></blockquote>
<ol start="3">
<li>There have been requests to enable headings and footings to be shown conditionally.  This can now be achieved with the <code>&lt;&lt;PlaceHolder()&gt;&gt;</code> command.  This command will put an invisible field onto the interview, but headings and footings attached to the data element specified in the command will be shown.  If the data element (a dummy, it is not available for use elsewhere in the template) is subject to a condition, then the heading and/or footing attached to it will appear and disappear subject to the condition.  The full syntax of the command is <code>&lt;&lt;PlaceHolder(DummyDataElementName)&gt;&gt;</code>.  The <em>Define</em> command now includes the <em>PlaceHolder</em> choice in the list of Data Capture Commands, which means that the <em>PlaceHolder </em>command and the relevant <em>Heading </em>and/or <em>Footing</em> commands can all be defined in one.</li>
<li>Force.com data sources now have the ability to show a search dialog.  This is for testing purposes only, as integration with Force.com databases is not envisioned to involve users searching the database from an XpressDox template, but rather in the Force.com application itself.</li>
</ol>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/cookbook/suppressing-empty-lines/' rel='bookmark' title='Suppressing empty lines'>Suppressing empty lines</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-8-1/' rel='bookmark' title='Version 3.8.1 (2011-06-07)'>Version 3.8.1 (2011-06-07)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-9-0/' rel='bookmark' title='Version 3.9.0 (2011-07-06)'>Version 3.9.0 (2011-07-06)</a></li>
<li><a href='http://www.xpressdox.com/help/reference/showifhasvalue/' rel='bookmark' title='The ShowIfHasValue Function'>The ShowIfHasValue Function</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-4-1/' rel='bookmark' title='Version 3.4.1 (2011-01-22)'>Version 3.4.1 (2011-01-22)</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/new/version-3-9-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version 3.9.2 (2011-07-19)</title>
		<link>http://www.xpressdox.com/help/new/version-3-9-2/</link>
		<comments>http://www.xpressdox.com/help/new/version-3-9-2/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 10:23:43 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[New in XpressDox]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4682</guid>
		<description><![CDATA[2011-07-19 Version 3.9.2 When data is included into the data set, the sequence in which this happens is: Data from Standard Data Items in the configuration; Data from data sources configured as “Use for all templates”; Data from &#60;&#60;IncludeDataSourceData()&#62;&#62; commands. Prior to this release, step c. was performed before the other two. The data source [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/new/version-3-9-2/" title="Permanent link to Version 3.9.2 (2011-07-19)"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/supervisor.jpg" width="177" height="16" alt="Post image for Version 3.9.2 (2011-07-19)" /></a>
</p><p><strong>2011-07-19 Version 3.9.2</strong></p>
<ol start="1">
<li>When data is included into the data set, the sequence in which this happens is:</li>
<ol type="a">
<li>Data from Standard Data Items in the configuration;</li>
<li>Data from data sources configured as “Use for all templates”;</li>
<li>Data from &lt;&lt;IncludeDataSourceData()&gt;&gt; commands.</li>
</ol>
</ol>
<p>Prior to this release, step c. was performed before the other two.</p>
<ol start="2">
<li>The data source name mapping feature now has a “Add Prefix to All Names” button.</li>
<li>The configuration of data sources now includes a feature to handle seriously normalised data bases, enabling the configuration of “lookup tables”.</li>
<li>PDF Form handling recognises XFA form fields in a PDF form.</li>
</ol>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/new/version-3-9-1/' rel='bookmark' title='Version 3.9.1 (2011-07-07)'>Version 3.9.1 (2011-07-07)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-4-1/' rel='bookmark' title='Version 3.4.1 (2011-01-22)'>Version 3.4.1 (2011-01-22)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-5-0/' rel='bookmark' title='Version 3.5.0 (2011-03-04)'>Version 3.5.0 (2011-03-04)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-9-0/' rel='bookmark' title='Version 3.9.0 (2011-07-06)'>Version 3.9.0 (2011-07-06)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-8-1/' rel='bookmark' title='Version 3.8.1 (2011-06-07)'>Version 3.8.1 (2011-06-07)</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/new/version-3-9-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version 3.9.1 (2011-07-07)</title>
		<link>http://www.xpressdox.com/help/new/version-3-9-1/</link>
		<comments>http://www.xpressdox.com/help/new/version-3-9-1/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 08:58:27 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[New in XpressDox]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4667</guid>
		<description><![CDATA[Version 3.9.1 contains some bug fixes as well as the following enhancements: &#60;&#60;LinkToDataSource()&#62;&#62; can apply to a &#60;&#60;ChooseFromDataSource()&#62;&#62; command in order to permit intuitive handling of highly-normalised databases. Any number of &#60;&#60;LinkToDataSource()&#62;&#62; commands can apply to the same data element. The &#60;&#60;OptimizeParsing(Off)&#62;&#62; command is implicitly issued for multi-language templates. Related posts:Version 3.9.0 (2011-07-06) Version 3.9.2 [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.xpressdox.com/help/new/version-3-9-1/" title="Permanent link to Version 3.9.1 (2011-07-07)"><img class="post_image alignnone" src="http://www.xpressdox.com/wordpress/wp-content/assets/images/supervisor.jpg" width="177" height="16" alt="Post image for Version 3.9.1 (2011-07-07)" /></a>
</p><p>Version 3.9.1 contains some bug fixes as well as the following enhancements:</p>
<ol>
<li>&lt;&lt;LinkToDataSource()&gt;&gt; can apply to a &lt;&lt;ChooseFromDataSource()&gt;&gt; command in order to permit intuitive handling of highly-normalised databases.</li>
<li>Any number of &lt;&lt;LinkToDataSource()&gt;&gt; commands can apply to the same data element.</li>
<li>The &lt;&lt;OptimizeParsing(Off)&gt;&gt; command is implicitly issued for multi-language templates.</li>
</ol>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/new/version-3-9-0/' rel='bookmark' title='Version 3.9.0 (2011-07-06)'>Version 3.9.0 (2011-07-06)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-9-2/' rel='bookmark' title='Version 3.9.2 (2011-07-19)'>Version 3.9.2 (2011-07-19)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-9-3/' rel='bookmark' title='Version 3.9.3 (2011-07-27)'>Version 3.9.3 (2011-07-27)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-4-1/' rel='bookmark' title='Version 3.4.1 (2011-01-22)'>Version 3.4.1 (2011-01-22)</a></li>
<li><a href='http://www.xpressdox.com/help/new/version-3-3-2/' rel='bookmark' title='Version 3.3.2 (2011/01/06)'>Version 3.3.2 (2011/01/06)</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/new/version-3-9-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The ChooseFromDataSource Command</title>
		<link>http://www.xpressdox.com/help/reference/choosefromdatasource/</link>
		<comments>http://www.xpressdox.com/help/reference/choosefromdatasource/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 08:50:49 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[User Reference]]></category>

		<guid isPermaLink="false">http://www.xpressdox.com/?p=4661</guid>
		<description><![CDATA[The template author will use this command to provide a way for the user of a template to choose data from a Data Source and those data can then be inserted into the template. Simple Form The simplest form of the command is shown in this example: &#60;&#60;ChooseFromDataSource(Contacts,Select the contact or type in the Contact [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The template author will use this command to provide a way for the user of a template to choose data from a <a title="Configuring data sources" href="http://www.xpressdox.com/help/reference/configuring-data-sources/" target="_self">Data Source</a> and those data can then be inserted into the template.</p>
<h3>Simple Form</h3>
<p>The simplest form of the command is shown in this example:</p>
<p><code>&lt;&lt;ChooseFromDataSource(Contacts,Select the contact or type in the Contact ID if you know it)&gt;&gt;</code></p>
<p>The first parameter is the data source name, and the second is the caption that will be displayed next to the control in the interview.</p>
<p>The control in the interview has a text area and also a button.  If the user presses the button, then the data source search form is presented, and they then can search for the data that they require.</p>
<p>If the user knows the value of the Id for that data source (usually a code like an account number or in this example a contact Id), then they can type that into the text area, and the data will be retrieved as soon as the focus moves out of that text area &#8211; for example if the user presses the Tab key.</p>
<h3>Refresh and Save Options</h3>
<p>Another form of the command is</p>
<p><code>&lt;&lt;ChooseFromDataSource(Contacts,Select the contact or type in the Contact ID if you know it,RefreshSave)&gt;&gt;</code></p>
<p>The &#8220;RefreshSave&#8221; option means that if the user changes any of the data which was retrieved from the data source, then those changes will be written back to the data source.  A full explanation of the <em>RefreshSave </em>parameter is given in <a title="Control how the user can change data source data" href="http://www.xpressdox.com/help/cookbook/control-data-changes/" target="_self">Control how the user can change data source data</a>.</p>
<h3>Restrict the range of the search</h3>
<p>Suppose you want the user to be able to select only Customers from the Contacts data source. Assuming the data source has a column called &#8220;ContactType&#8221;, the command would look something like:</p>
<p><code>&lt;&lt;ChooseFromDataSource(Contacts,Select the contact or type in the Contact ID if you know it,RefreshSave,Range=ContactType='CUST')&gt;&gt;</code></p>
<h3>Use variable information in the Range</h3>
<p>It might be that the contact type is actually in a data element which has already been populated (it might have been captured by the user in the interview, or included using an <em>IncludeDataSourceData </em>command, or one of many different ways of including data in the data set).  Suppose the contact type is in a data element called <em>ContactType </em>- then it can be used in the Range as follows:</p>
<p><code>&lt;&lt;ChooseFromDataSource(Contacts,Select the contact or type in the Contact ID if you know it,RefreshSave,Range=ContactType='&lt;ContactType&gt;')&gt;&gt;</code></p>
<h3>Manage the button</h3>
<p>The last parameter to the command enables the template author to either:</p>
<ol>
<li>Insist that the user use the search button, in other words they can&#8217;t type in any arbitrary ID and have the data source retrieve it:<br />
<code>&lt;&lt;ChooseFromDataSource(Contacts,Select the contact or type in the Contact ID if you know it,RefreshSave,Range=ContactType='CUST',RequireSearch)&gt;&gt;</code></li>
<li>Disallow the user from using the search button &#8211; i.e. they must know the ID of the data that they want:<br />
<code>&lt;&lt;ChooseFromDataSource(Contacts,Select the contact or type in the Contact ID if you know it,RefreshSave,,DisallowSearch)&gt;&gt;</code><br />
In effect, this is the same as using the <a title="The LinkToDataSource Command" href="http://www.xpressdox.com/help/reference/linktodatasource/" target="_self">LinkToDataSource</a> command with a normal text box for the control, e.g.<br />
<code>&lt;&lt;CaptureDataElement(ContactId)&gt;&gt;&lt;&lt;LinkToDataSource(ContactId,Contacts)&gt;&gt;</code></li>
<li>The third option is &#8220;AllowSearch&#8221;, but that is the default and so can be left out.</li>
</ol>


<p>Related posts:<ul><li><a href='http://www.xpressdox.com/help/cookbook/working-linktodatasource-1/' rel='bookmark' title='Working with LinkToDataSource'>Working with LinkToDataSource</a></li>
<li><a href='http://www.xpressdox.com/help/reference/other-advanced-features/' rel='bookmark' title='Getting data from data sources into a template'>Getting data from data sources into a template</a></li>
<li><a href='http://www.xpressdox.com/help/reference/linktodatasource/' rel='bookmark' title='The LinkToDataSource Command'>The LinkToDataSource Command</a></li>
<li><a href='http://www.xpressdox.com/help/cookbook/command-editor/' rel='bookmark' title='The Command Editor'>The Command Editor</a></li>
<li><a href='http://www.xpressdox.com/help/reference/interviewiswizard/' rel='bookmark' title='The InterviewIsWizard Command'>The InterviewIsWizard Command</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.xpressdox.com/help/reference/choosefromdatasource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

