Search

July 16, 2025

GetTemplateTitle

Save a template with a title, and use that title in the interview

When saving a template, it is possible to provide a template Title. You do need to use the XpressDox Explorer for this rather than the Windows Explorer. Please refer to this article, and to the creation of titles. Another way of providing a Title is once the template is uploaded to the cloud. Click on the context menu, then Properties and provide a Title.

By default, the template Title is the same as the name of the template, but there are times when you want to specify a different name as the template name may not be as friendly. In the XpressDox Explorer (both desktop and cloud), the views can be switched between templates names and template titles.

 

GetTemplateTitle

Once the template has a title, you can use «GetTemplateTitle()» to return that saved template title in the interview. You would need a command such as OnExitSet, or Set to do this

Example:

Perhaps you want to set a file name in the interview but allow users to change it if they want to. The following sets the file name to MatterNumber + TemplateTitle.

«MatterNumber»
«FileName»
«OnEnterSet(FileName,FileName,Value,(),concat(GetTemplateTitle(),' ',MatterNumber),,OnlyWhenEmpty)»