Application.OnTemplateSelectedEvent Event

This event is fired when the user selects a template in the library to assemble, or selects a template at the SelectTemplate or SelectMultipleTemplate dialogs. By returning *override == true, the integration can cancel the selection of the template.

Syntax

void OnTemplateSelectedEvent ( string tplTitle, string tplPath, out bool override )

Parameters Description
tpltitle The title of the template. If the template does not have a title, this will be an empty string ("").
tplpath The file system path (including the file name) of the selected template.
override Return parameter:
  • *override == true will cancel the selection of the template.
  • *override == false will allow the selection to continue normally.