Scripts

Scripts Library

Rules Library -> Scripts.

Class Library Script Library: Manages scripts used in Features.

Item Library Edit Button Edits the selected script.

Item Library Enable Select Box Toggles if the script is enabled or disabled.

Item Library Validate Button Attempts a very basic script validation for syntax errors.

Item Library Create Creates a new script on the list titled "Script #" it will be disabled by default.

Item Library Item Library Enable/Disable Allows for enabling or disabling scripts via multi select (Shift/Control + Click).

Item Library Item Library Import/Export Allows for importing or Exporting scripts as standard XML files. This is handy for multiple campaigns.

Item Library Copy Makes a copy of the currently highlighted script.

Item Library Delete Deletes the currently highlighted script.

Be extremely carefull deleting scripts, once something is removed there is no getting it back.


Edit Script Items

Script Details.

A Script has three parts, description, script and instructions.

  • Name: name of the script.
  • Show editor when locked toggle: Allows someone to hide or show their script when sharing thru the marketplace. (i.e. secure code or public code)
  • Product: The name of the product the script belongs to.
  • Source: The source the script should be listed in.

Item Library Validate Button Attempts a very basic script validation for syntax errors.

Item Library Cancel Button Cancels the current edit operation.

Item Library OK Button Save the item and proceeds.

Decsription

This ia a rich text field and can contain any information you wish.


Script Tab

Script Details: Script Edit.

This editor allow for editing your script.

Good resources for scripting are;

There are several repositories around the web to help with the javascript language. Your milage may vary, pick one you like.


Instructions

This is a rich text field and can contain any information you wish. Most often it is where you would place variable information or relevant sources on a given script.