Publish templates from the template workspace

Publish templates from the template workspace

To use the Relatics template function, a workspace must be designated as one that can produce templates. This template workspace can still be used as a normal workspace.

When the template workspace is sufficiently mature, the power user can create and publish the structure of the workspace as a template. The template workspace will continue to evolve and new updates to the template may be published and distributed.

What is a Relatics template

A Relatics template is the collection of the structure of a workspace, containing:

Note:

  • The elements containing the project data are not part of the template.
  • To publish templates, a template workspace is needed.

Quickstart**

Quickstart is a feature available for reference type elements in template workspaces. The data of these type elements is often not project-specific and can be used in multiple projects. Therefore, when you enable the quickstart feature in the template workspace, the element data of a reference type element created in the subscribed workspace is included.

  1. In the workspace menu, click on  Type graphview
  2. Click on the reference element that you would like to update.
  3. Click on Settings in the toolbox.
  4. Navigate to the Template tab and scroll to the bottom of the page.
  5. Enable Provide existing elements as quickstart data.
  6. Click Update.

Notes:

  • In the Graph view type elements with quickstart enabled can be recognized by the icon relatics-icon-quickstart-data.
  • All property values are included in the new Workspace.
  • The Quick Start data is not updated when a new version of the template is applied. The elements are added only when the workspace is created or the type element is introduced.

Publish a template version of your workspace**

  1. In the workspace menu, click on  Templates.
  2. Click on the button New template. This opens a new dialog Create template.
  3. In the field Name, give a unique name to the template.
  4. In the field Description, add a description to the template.
  5. The field Changelog can be used to communicate model changes, for instance:
    1. The new, removed, or changed items.
    2. Update instructions.
  6. Click on the button Create to make the new version of the template available for connected workspaces.

Note:

  • After creating a version of a template, no changes to this version can be made. Whether this template is published or not makes no difference.
* In the environment, the user must have an Environment user type of Environment manager or higher.
** In the workspace, the user type of your user must be set to power user to enable this feature.