June 4, 2013

SetCoreFileProperty - XpressDox

When viewing the  Word Advanced Properties for a document, there are a number of properties that appear, such as the Author, Comments, Keywords, etc.  Using the SetCoreFileProperty function, some of these Advanced properties can be set in the document which is merged from a template.

For example

«SetCoreFileProperty('Author',WindowsLogonUser())»

will set the value of the Author advanced property to the Windows long name of the user who is completing the interview.

The wizard in the Command Editor for the function will show all the supported Properties.