XpressDox Help Center

Use Google To Find Help Fast, e.g. xpressdox choosefromlist

Press Getting Started in the XpressDox toolbar for basic template development
Watch the tutorial videos
View command help from list of commands
Press F1 for help on a command in the Command Editor
Email support@xpressdox.com for assistance

The SetMultipleDocumentFilter command

The SetMultipleDocumentFilter command

This command is used as part of the Document per Repeated Item feature.

When a separate document is required for each of a set of repeating items, but only where certain criteria apply to the item, then the «SetMultipleDocumentFilter» command can be used to filter the  repeating items so as to achieve this.

For example, suppose there is a repeating data element Child and a separate letter is required for each child, but only where the child’s age is greater than 12.  The SetMultipleDocumentFilter command will then be:

«SetMultipleDocumentFilter(Age > 12)»

Note that the scope of the Age data element is actually Child.

In order to compare the child’s Age with a minimum age somewhere at the root level of the data set, the following would be used:

«SetMultipleDocumentFilter(Age > ../MinimumAge)»

The Cookbook recipe referred to above will have more discussion on this.

Leave a Reply