Define templates for new TM1 objects

Create a new TM1 process

There are different ways to create a new TM1 process using Arc, you can either choose to clone an existing process or create a new blank process by using the create process button in the top right corner:

Type the name of the new TM1 process and click the create button:

By default, Arc will create the new TM1 process with the same default lines as TM1 does:

Update the templates

The template that Arc uses to create a new process is defined in the following file:

  • Arc\templates\process\blank.json

This file is on a JSON format and it will contain the structure of the new TM1 process, if you haven't updated this file, it will look like this.

You can see the four main tabs (Prologue, Metadata, Data and Epilogue) all start with the same two lines (\r\n means go to the next line):

"PrologProcedure": "#****Begin: Generated Statements***\r\n#****End: Generated Statements****",

Inside the double quotes, you can add new lines. For example we want to jump one line (\r\n), add a new line where we can add the Process Name (\r\n#Process Name:) and an other line where we can add the Date (\r\n#Date :):

\r\n\r\n#Process Name:\r\n#Date

By adding the text above to the Prologue line, your file should look like this:

After saving the file, if you create now a new process, you will see in the prologue tab, two new rows:

Update dimension and chore templates

In the Arc folder, you will find the templates for dimension and chore: