User Reference

The ToSentence Function

Regardless of the case of the value entered the interview or imported from a database, that value can be converted into sentence case.     Command structure: «ToSentence(Description)» If a sentence entered starts without a capital “i am on vacation.” The result will be “I am on vacation.” The first

Read More »

The ToTitle Function

Regardless of the case of the value entered the interview or imported from a database, that value can be converted into title case.   Command structure: «ToTitle(Title)» “application for employment” becomes “Application For Employment”     Additional parameters on the ToTitle command:   If you would like short words (2

Read More »

The AlignCaption Command

Change the alignment of one data element on the interview.   Command structure: «AlignCaption(Name,Top)»   By default, all captions in the interview for a template are aligned to the left of the interview screen. Using the «AlignCaptions()» command, this can be changed once for the entire interview. Although it is

Read More »

The Dollars Function

The Dollars function will translate a numeric value into a currency in words, specifically Dollars in English.   Command structure: «Dollars(Price)»   Example: «Dollars(Price,”)»(«FormatNumber(Price,’$#,0.00;’)?»)     Related articles: How to convert numbers to currency  

Read More »

Set Web Information for a Template

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

Read More »

The With command

This article follows on from the Set command article. The With command allows you to add a condition block around one more Set commands, and apply the same conditions to those Set commands. Conditions in Set commands: By way of example, consider several Set commands which all need to apply

Read More »

The RunTemplate Function

The RunTemplate function, a function which works in the web only, allows you to create a “package” of templates and run selected templates with separate interviews, one after the other. The product is a package of separate Word (and/or PDF) documents.   Command structure: «RunTemplate(‘TemplateA.xdtpx’)»   Usage example: Consider the

Read More »

The FormatNumberOnInput Command

Although users can enter numbers with formatting according to their own region, often they enter numbers with no spaces or other punctuation. The FormatNumberOnInput command assists the user with readability of numbers on the interview. It does not affect the assembled document in any way.   Command structure: «FormatNumberOnInput(‘#,###.##’)» This

Read More »

The ValidateBeforeShare Command

When sharing an interview (Document Services) it might be necessary for the sender to input certain fields before sending the interview to the recipient. This is when the ValidateBeforeShare command is important. Command structure: «ValidateBeforeShare(FirstName,LastName)» «Required(FirstName,LastName,EmailAddress)» Other fields on the interview may be marked as Required, e.g. the EmailAddress as

Read More »

InsertFormattedText

This command provides a multi line field on the interview.   Command structure: «InsertFormattedText(Address)»   The above fillpoint will cause the ‘Address’ to be formatted in the assembled document with each line of ‘Address’ on its own line in the merged document, just as it was entered by the user

Read More »

The PreventRepeaterDeletion command

This command enables the template author to prevent users from deleting items in a repeater. Command structure: «PreventRepeaterDeletion(Director,../CompanyType = ‘Private’)» Where Director is the name of the repeating party, and CompanyType is the element (outside of the repeater, hence the ../ syntax) providing the condition under which the item should

Read More »

The When Command

The When command can be used when the text to be included or excluded is small, is text only (i.e. contains no further data elements) and requires no MS Word formatting.   Example 1: Plurals This fax consists of «NumberOfPages» page«When(NumberOfPages != 1,s)». Note that != means “not equal to”.   Example 2: Pronouns

Read More »

Formatting individual data elements

Formatting functions can be applied to any data element name where the value of the data element is to be included in the resulting text, that is when the data element name would otherwise exist in a Merge Field all on its own, or inside a List command.

Read More »

Creating Cleanup and Artifacts Tasks on your Server folders

    Account/File Administrators can create Cleanup and Artifact Creation Schedules to facilitate the best performance on your Server account.   Create artifacts after hours so that interviews build faster; and Specify when to delete documents and/or data files from selected folders. To create an Artifact Creation Schedule (can be

Read More »

The ToLower Function

Regardless of the case of the value entered into the interview or imported from a database, that value can be converted into lower case.   Command structure: «ToLower(Type)» “Plaintiff” becomes “plaintiff”   Additional parameters on the ToLower function:   ToLower can begin converting the string at any character supplied at

Read More »

The ToUpper Function

Regardless of the case of the value entered into the interview or imported from a database, that value can be converted into UPPER CASE.   Command structure: «ToUpper(FullName)» “Fred Basset” becomes “FRED BASSET”   Additional parameters on the ToUpper command:   ToUpper can begin converting the string at any character

Read More »

The ExcludeFromGrid Command

This command is used in conjunction with CaptureInGrid when there are too many elements inside the repeat for all of them to be displayed as a grid, but it is also not desirable to display the repeat in the traditional way.   Command structure: «ExcludeFromGrid(Party,Address1,Address2,City,State,Zip)»   Although there is an

Read More »

The IncrementDate Function

Increment a date by a certain number of days, months or years.   Command structure: «IncrementDate(DateOfBirth,25, “y”)» The above will add 25 years to the value in the data element ‘DateOfBirth’.   Some simple examples: Tomorrow: «IncrementDate(Today(),1,”d”)» i.e. add 1 day to today’s date. Yesterday: «IncrementDate(Today(),-1,”d”)» i.e. subtract 1 day

Read More »

The Tab Command

Templates with many data elements might result in data capture interviews being constructed by XpressDox which are intimidating to the template user. The Tab command assists the template author in laying out the data capture interview.

Read More »

Alphabetic List of Commands and Functions

Command or Function Name Description and Examples AlignCaption Sets the alignment of the caption for specific data elements   «AlignCaption(FirstName,LastName,Top)» AlignCaptions Sets whether captions on the interview should be aligned left, right or top   «AlignCaptions(Right)» «AlignCaptions(Left)» «AlignCaptions(Top)» AlignErrorMessages Sets whether error messages (on the web interview) should be aligned

Read More »

The DetectLongConditions Command

How will I know when to use this command? Particularly with long templates with lots of conditional logic, you can get one or both of the following situations: either the interview responsiveness is very sluggish, and/or you get an “Out of Memory” exception being thrown by the system.   What

Read More »

Configuring data sources

The Data Sources facility provides a way for data captured into some other system to be merged into templates. For example, users may wish to be able to have address and other contact information from Microsoft® Outlook inserted into letters. This would be achieved by defining the Outlook Contacts as a Data Source.

Read More »