Event script file naming

To easily manage and allow EMSE to locate event scripts, use the following naming convention for the JavaScript file names:

AAAA;B!C!D!E.js

Where (use capital letters):

  • AAAA = Event Prefix (see EMSE_VARIABLE_BRANCH_PREFIX standard choice, examples are WTUA, CRCA, ASA)

  • B = Module (e.g., LICENSES)

  • C = Application Type, or tilde (~) for wildcard

  • D = Sub-type, or tilde (~) for wildcard

Important: EMSE does not support some special characters in script names. The non-supported characters include: \ / : ? * " < > |

Example:

ASA;CASEMANAGEMENT!CASE!~!~.js
ASA;LICENSES!AMENDMENT!AE BARB BUSINESS!CLOSE BUSINESS.js
ASIUA;CASEMANAGEMENT!CONSUMER COMPLAINT!~!~.js
RIUA;LICENSES!~!~!~.js

When the script files are deployed from your local repository into Civic Platform using the EMSE tool, the script file names are converted into script names that show variable branching.

Example:

Note: To help organize your JavaScript files in a source code repository, Accela recommends using a specific directory structure. See EMSE tool and repositories for more information.

Accela also recommends that you upload the script file structure into a managed code repository to help you manage and share the scripts across your team or across environments. See The EMSE tool and the script repository for more information.