Pular para o conteúdo principal

Template Script Trigger Actions

Template Scripts can be used to add custom functionality related to template operations. These scripts can be triggered from various important trigger actions:

  • After Template Link Save - This trigger action fires when default template links are changed on the template. AbortAction can be used to stop the changes.
  • After Template New - This trigger action fires after creating a new template has been committed. AbortAction cannot be used to stop the creation.
  • After Template Save - This trigger fires after saving a template has been committed. AbortAction cannot be used to stop the save.
  • Before Change Equipment Group - This trigger fires before displaying the Change Equipment Group dialog. AbortAction can be used to stop displaying the dialog.
  • Before Field Edit - This trigger fires before showing the Edit Field dialog for a template field. AbortAction can be used to stop displaying the dialog.
  • Before Modify Template I.D. - This trigger currently is not implemented.
  • Before Template Delete - This trigger currently is not implemented.
  • Before Template New - This trigger fires before the New Template dialog is displayed. AbortAction can be used to stop the creation of a new Template.
  • Before Template Save - This trigger fires before changes to a Template are committed to the database. AbortAction can be used to stop the changes from being saved.
  • None (Hyperlink Only) - This is a legacy method for creating Template Project Scripts that can then be triggered from the hyperlinks on the Template layout.
  • Before Layout Merge - This trigger occurs before the layout is drawn. Typically this trigger action script would make use of the GetLayoutRTF and SetLayoutRTF script functions to manipulate the layout text before display.
|