Use Google to find help fast. For example, search on "xpressdox choosefromlist".

The SaveAsText Command

The SaveAsText Command

Sometimes you might want the result of XpressDox merging data and template to be not a Word document but another document, for example a CSV file, or even another XML document, or programming code (yes, XpressDox can be used to generate programming code, or HTML, anything really).  In all those examples the type of data is actually text and not really a Word document.

«SaveAsText(Yes)» will cause XpressDox to save the text version of the merged document.

It would be as well to provide the extension that should be used by using the SetSavedDocumentFileName command, for example «SetSavedDocumentFileName(Table.csv)»

Note that this feature is available only in Version 4 and later of XpressDox.

Leave a Reply