Define Templates for New TM1 Objects

Define Templates for New TM1 Objects

Define Templates for New TM1 Objects

Instead of starting from scratch every time you create a new TM1 object, Arc lets you define custom templates for new processes, cubes, dimensions, and chores.


Using the Save Template Button (Arc v1.7+)

From Arc v1.7, the easiest way to create a template is to save an existing object as a template:

  1. Open the TM1 object (e.g. a process) you want to use as a template.

  2. Click the Save Template button in the toolbar.

  3. Give the template a name.

Next time you create a new object of that type, you can select your saved template from the template list.


Manually Editing Template Files (Pre v1.7)

Templates are stored as JSON files in the Arc/templates/ folder:

Object Type

Template File

Object Type

Template File

Process

Arc/templates/process/blank.json

Dimension

Arc/templates/dimension/

Chore

Arc/templates/chore/

Customising the Process Template

The blank.json file defines the default content for each tab (Prolog, Metadata, Data, Epilog). The rn character represents a newline.

Example — adding a header comment to the Prolog:

Default Prolog:

"PrologProcedure": "#****Begin: Generated Statements***\rn#****End: Generated Statements****"

Updated Prolog with a header:

"PrologProcedure": "#****Begin: Generated Statements***\rn#****End: Generated Statements****\rn\rn#Process Name:\rn#Date:"

After saving the file, the next new process you create in Arc will include your header lines in the Prolog tab automatically.


Tips

  • Changes to template files take effect immediately — no restart required.

  • Templates are stored per Arc server installation, so changes apply to all users of a shared Arc server.

  • Use templates to enforce team standards (e.g. always include a header comment, always define a constant block).


Related Pages