Add JavaScript File tab

Creates an empty JavaScript file where you can create a custom JavaScript snippet to use for a custom action.

Figure: Add JavaScript File tab

Add JavaScript File tab

Background and Setup

Examples

Prerequisites

Good to Know

  • When you complete this screen, a JavaScript file is added to the Shared Resources > JavaScript tab where you can create a custom JavaScript snippet to use on a custom action.
  • Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.

How to Start

  1. Click Settings.

    Settings
  2. Click Work Center.

    Work Center Settings
  3. On the General screen, click the Custom Action tab.

    Click Custom Actions Settings Tab
  4. On the Custom Action screen, in the left pane, expand the Shared Resources tab.

    Expand Shared Resources
  5. On the Shared Resources tab, on the JavaScript tab, click the menu icon Menu Icon icon > Add.

    Click Add

Fields

Field NameDefinition

Display Name

Description:
Specifies the name of the JavaScript file to create for a custom action.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
  • Spaces
  • Special characters
Default Value:
None

Internal Name

Description:
Specifies a unique, technical name for the JavaScript file.

When a user clicks this field, the field shows the value specified in the Display Name field with no spaces. You can also specify a custom internal name. After the Internal Name is created, it can not be changed.

Allowed Values:
One line of text (a string) that can have letters and numbers, and can not have spaces or special characters.
Default Value:
None

Description

Description:
Specifies an optional text description for the JavaScript file.
Allowed Values:
More than one line of text.
Default Value:
None

Save Save icon

Function:
Creates the JavaScript file.