Search

Conditional Logic

The If Block (v14) – XpressDox

The ribbon With the launch of XpressDox low code, or version 14, the If Block is now available directly from the ribbon. This makes inserting conditional logic really quick and simple. Open the If Block

Read More »

Using block commands in XpressDox

The ForEach and If commands are called ‘block commands’ because they are terminated with a separate End command. Between the start and end of the block there are other Merge Fields. There is a special behaviour related to block commands to help with eliminating unwanted empty paragraphs when the start and end appear on different paragraphs.

Read More »

Conditional inclusion of paragraphs and clauses

Sometimes there are just too many choices of paragraph or clause to be included or excluded from a document. Using If and Else commands is inappropriate when there are hundreds of combinations. XpressDox has the powerful InsertDocument command to handle just this situation – where the user running the template chooses which clauses should be inserted.

Read More »

Conditional Numbering of Paragraphs

Suppose you have a document where names and other identifying information are listed.  They could be parties to a contract or names and addresses of directors of a company, or something like that. Suppose further

Read More »

Working with Section Breaks

Section breaks are used in Microsoft Word®  to separate different parts of the same document which typically have different attributes.  Such as different orientation (landscape or portrait) and different headers and/or footers. This becomes an

Read More »

Working with Page Breaks

Using a page break in a template is fairly straightforward, even when the page break is conditional. In other words, when the page break is to be included or excluded on the basis of an

Read More »

Conditional Capture

The Conditional Capture feature of XpressDox will automatically hide merge fields on the data capture interview. This happens when the document assembly logic in the template renders a data element to be irrelevant in a particular situation.

Read More »

Trouble shooting Conditional Capture

Conditional Capture can sometimes result in unexpected behaviour, where data elements either are unexpectedly removed from the data capture interview, or appear on the interviewwhen they shouldn’t. This recipe gives some tips on how to trouble shoot these situations.

Read More »

Trouble shooting Ends and Elses

In complex templates, the balancing of End and Else commands with the matching If or ForEach can become difficult. This recipe explains how to use the Template Painter and the Debug command.

Read More »

Relevance

The term “relevance” refers to the algorithms used by XpressDox to determine whether the control to capture a data element in the interview should even appear in the interview. In the simplest case, the fillpoint

Read More »

Advanced Conditional Logic

Suppose you would like to write a sentence something like one of the following, depending on the age of a child: My child <ChildName> is a teenager and is allowed to watch movies rated for 13

Read More »

The GT and LT functions

Sometimes it is syntactically impractical to use the characters < and > in a particular context. For example, you might want to use a Dynamic Caption which is something like this (to use the word

Read More »

Testing parts of a string – XpressDox

Working with strings in XpressDox templates   StartsWith The StartsWith function is used to test whether a string starts with a given string: «If(StartsWith(Surname,’van ‘)»«Title» «Surname» is probably of Dutch descent.«End()» «If(StartsWith(Surname,’van ‘)»«SetV(‘LastPart’,substring-after(Surname,’van ‘))»«End()» In

Read More »

Configuring Helper Folders in XpressDox

In XpressDox Docussembly™ document assembly software any number of Helper Folders can be configured. A typical example of a folder for which this type of shortcut is defined would be one in which letterheads or other standard templates like fax headers, etc. are kept. In this way these standard templates can be kept separately to the templates that use them.

Read More »