Skip to main content

New script

Use this form to create a new script in the application.

Options:

  • Template - select a suitable script template:
Template NameDescriptionIncluded in Custom Apps modules
EmptyEmpty scriptAsset Management, Service Desk
Class LibraryA library of helper classes that can be used in other scripts. Defined classes cannot be used in another library.Asset Management, Service Desk
IEntityCommandCustom entity commandAsset Management, Service Desk
IGeneralCommandCustom command in the main menuAsset Management, Service Desk
ITicketAutoActionAuto action on ticket eventService Desk
IActAutoActionAuto action on an event in a ticket log entryService Desk
ITicketApprovalAutoActionAutomatic ticket approval actionService Desk
IMailMessageAutoActionAutomatic action on message retrievalService Desk
IObjectPropertyAutoActionAutomatic action when changing the value of an object propertyAsset Management
IObjectMoveAutoActionAuto action when moving an objectAsset Management
IPeriodicActionPeriodic ActionAsset Management, Service Desk
IEntityTabCustom tab on entity pageAsset Management, Service Desk

Each script represents a particular UI element or other type of program extension that is an implementation of a particular interface in C#. The templates are named the same as the interface.

  • Name - enter a name for the script. We recommend naming scripts with the name of the class they implement. For example, the Open document custom command class that implements the IEntityCommand interface could be named OpenDocumentCommand and the script name would be the same. By selecting the template, the appropriate ending will be automatically filled in the script name.