Editing Default Company Scripts

Note that if you modify the template scripts, those changes are only propagated to the Event Domains that are associated with the template script packages. Changes to the template scripts will not overwrite any custom script packages, and will therefore not affect any Company using customized scripts.

To modify the Template Script Package:
  1. In the xMatters Developer IDE, click Database > Check Out.
  2. In the Check Out dialog box, select the Template Script Package, and then click Check Out.
  3. Click Close to return to the Workspace pane, and then make your changes to the Template Script Package.
  4. When you are finished editing the Template Script Package and have saved your changes, click Workspace > Validate to validate it.
  5. Click Database > Check In.

When you create a new Company in a multiple-Company deployment, xMatters automatically creates the default Event Domains, and assigns the appropriate template script package to each new domain. xMatters does not automatically create a separate set of script packages; before you can customize the scripts for a Company, you must export the template script you want to use, and then import it into the Company scripts.

Note that you must create the new Company in xMatters before you can create new script packages for it. For more information about creating Companies, see the xMatters installation and administration guide.

To create a Company-specific script package:
  1. In the Workspace pane, do one of the following:
  2. Click Workspace > Export.
  3. Choose a location to save the exported scripts, and then click Save.
  4. In the Developer IDE, click Workspace > Import.
  5. Specify the Company into which you want to import the scripts, and then click OK.

xMatters will create a new folder in the Workspace pane and add the scripts to it. You can now edit the scripts and check them into the database. Note that you must also set the Company Event Domain to use the new custom script on the Event Domain Details page in the web user interface. For more information, see the xMatters installation and administration guide.

Creating and modifying Script Packages

Creating Script Package versions

Importing and exporting Script Packages