The NEW XpressDox Version 14 is now available!

Edit Content
Click on the Edit Content button to edit/add the content.

XpressDox Support

Inserting templates with variable names (Part 2)

The original article regarding inserting documents with variable names was written way back in 2009.  Since then, as a result of further maturing of XpressDox, some really useful innovations have been added.  In particular, if there are data elements whose values are set very early in the process (in fact

Read More »

The RepeaterPosition Function

Consider the commands OnExitSet and OnEnterSet. These commands are only executed during the lifetime of the interview, and also contain conditions which need to be evaluated when the user navigates through the interview. Also consider the case where you would like certain actions to take place depending on the position

Read More »

Data Sheets

In XpressDox, a Data Sheet is a document that contains a table with a list of data elements and values.   Why a data sheet? A data sheet is useful in the case where, for example, a lengthy and complex document is produced by a template, and where the list

Read More »

The Value Function

This function is usually used inside Scripts, when you want to use a script as a function inside another command. The function returns exactly what it is passed, as in: «Script(DemoValue)»«Value(‘This is what will be returned by the function’)»«ScriptEnd()» The use of this script “as a function” would be something

Read More »

The Execute Function

Execute is used when a sequence of functions need to be executed one after the other. It is typically of assistance in the HotDocs® converter. Here is an (admittedly artificial, but useful for illustration) example: «OnExitSet(Name,Number,Value,(),Execute(SetV(‘X’,12),IncrementV(‘X’),GetV(‘X’)),,EvenWhenNotEmpty)» After the focus leaves the Name field, the Number data element will have its

Read More »

The Paragraph Command

«Paragraph()» will split a paragraph into two. Providing the name of a Word style, such as «Paragraph(ThisStyle)» will result in the second paragraph resulting from the split having style ThisStyle applied to it.

Read More »

The Mod Function

Mod is used to get the remainder when dividing one number by another. It is typically used to divide sets of items into odd and even, or in a Rule. For example: «ForEach(Parent)» «Name» «End()» «Rule(Parent,hard,(count(Parent) mod 2) = 0,’Please enter an even number of parents.’)»

Read More »

The HideFromPreview Command

By default, when the user selects to preview the results of an assembly (during the Interview process), the system will display the document generated by the template itself, and any document generated by the MergeTemplate function. Sometimes, the template author may want to restrict the preview functionality to specific templates.

Read More »

The EnableWebPreview Command

This command is relevant in the case where the template is to be published to your own Integration Server. It can be used to enable or disable the Preview functionality during the interview process.

Read More »

The CompareStrings Function

Comparing two strings for equality and inequality is straightforward.  However, because XpressDox relies heavily on XPATH (XPATH Tutorial), it also is constrained by some XPATH limitations. For example, «If((‘A’ < 'B'))»less«Else()»not less«End()» «If(('B' < 'A'))»less«Else()»not less«End()» will result in not less not less being put into the document. This is

Read More »

Version 8.4.0 (2016-11-18)

2016-11-18 Version 8.4.0 A bug in the RunTemplates command giving rise to a Windows error “Index out of range” has been fixed. “Windows” has been added as a language choice in the ribbon. It will mean that the Regional Settings as set in the Control Panel will be used for

Read More »

Version 8.3.3 (2016-10-14)

2016-10-14 Version 8.3.3 A bug in LinkToDataSource giving rise to a “null reference exception” has been fixed. The Rich Text Editor has been delivered correctly with the install of XpressDox. The Preview area in the Explorer was not showing correctly. This is now fixed. The RaiseToPower function is introduced.

Read More »

Version 8.3.1 (2016-09-12)

2016-09-12 Version 8.3.1 New underlying code has been introduced to improve assembly of very large documents. The “Delay” option has been added to the RunWordMacro command.

Read More »

Version 8.2.0 (2016-07-01)

2016-07-01 Version 8.2.0 The XpressDox Explorer folder browser works similarly to the Windows file system explorer introduced with Windows 7. The command «HideInsideIV()» applied to a data element will make sure that the data element is not visible in an interview, but will nonetheless be able to take part in

Read More »

How to install a new desktop license

Replacing your XpressDox Desktop license key   From your XpressDox ribbon, click on Settings and then on License (if you are using v12 or earlier) or on the version number (if you are using v14). Now click Get New and paste in the new XpressDox license which was sent to

Read More »

Dynamic Captions – changing captions on the fly

With the advent of The OnExitSet and OnEnterSet Commands, it became possible to have the captions (or footing text or heading text) of a data element in the interview change in response to the user entering data. Getting the features around this to work was not all that easy for

Read More »

What to Expect of the Conversion from HotDocs

Overview The HotDocs® (HD) converter released with Version 11 of XpressDox will attempt as far as possible to prepare a set of XpressDox templates which, ideally, the user will be able to run as-is after the conversion is complete. Firstly, there are quite a few terminological and usage differences. Here

Read More »

Arithmetic in XpressDox (using ExpectXSLTFormatNumbers)

Because XpressDox uses XSLT as its document automation engine, the arithmetic features of XSLT are all available to template authors. There is a caveat, though, and that is that XSLT requires that all number presented to it in calculations must be in a specific format.  The specific format is that

Read More »

Using variables to calculate totals

XpressDox give the template author the ability to perform calculations and other operations on the values of data elements, and to store those values in variables for later use in the template. One example of this is the ability to calculate totals on repeated data elements.

Read More »

Shortcuts when using variables

With effect from Version 7, there are a number of shortcuts for referring to some of the variable-handling functions. They were introduced to take away the amount of typing necessary when many variables are being used. A full list of the shortcuts is as follows: ::A – AppendVr ::G –

Read More »