Search

FileExists

FileExists

This function can be used to test the existence of a file.   Example 1: «SetVr('fileName',concat(Directory,'\ExtraTemplate.xdtpx'))» «If(FileExists(GetV('fileName')))» «MergeTemplate(GetV('fileName'))» «End(if exists)» This will construct the name of a file in the XpressDox variable named ‘fileName’, and, if the file exists, issue the MergeTemplate command for it.  Without the test for existence,...

FolderExists

  In document automation, there are times when your template needs to check whether a particular folder exists. This can be useful when: Saving generated documents into specific client folders. Checking for the presence of required directories before proceeding. Saving to external file systems (such as NetDocuments/iManage). XpressDox provides the...

The concat function - XpressDox

There are times when it is necessary to concatenate the values of data elements, variables and/or hard-coded strings together to form a value which is then stored in a variable. The concat function does this.
Loading...