If the Application.SubmitTicket script has any code, that script is executed when an error occurs and the user clicks the Send button in the error dialog. This script can be used to automatically create support tickets in your support system if you have such a system and it has an API or some other automated mechanism for creating tickets.

Parameters
This script is passed several parameters:

  • A reference to the Stonefield Query Application object

  • The contact name of the user as specified in the Contact page of the Options dialog

  • The email address of the user as specified in the Contact page of the Options dialog

  • The Stonefield Query serial number

  • The Stonefield Query registration number

  • The subject of the error

  • The message of the error

  • A comma-delimited list of attachments that can be added to the support ticket

Return Value
True if the support ticket was submitted. If the script returns False, an email is sent to the address specified in the Support Email configuration setting.

See also

Scripts