Working with Template WorkSets - Promis.e


Product(s):Promis.e CONNECT Edition
Version(s):10
Environment:N/A
Area:Installation_Configuration
Subarea:N/A

Overview

In the CONNECT Edition, the application makes use of WorkSets to apply configuration settings to projects. Therefore, it can be advantageous to take advantage of template WorkSets to drive the creation of a new WorkSet. By doing so you can apply project specific settings to any new project that you create. Here are some typical uses for a template WorkSet:

How to Define Template WorkSets

A template WorkSet is no different than any other WorkSet except for how you intend to use it. In other words, any WorkSet can be treated as a template to create a new WorkSet from.

You have two options for defining template Worksets:

  1. Customize the existing templates
  2. Create new templates

Customize the Existing Templates

You can make use of the existing template WorkSets to preload your own custom content as needed. By default, Promis.e delivers two template WorkSets that can be used to create a new WorkSet which predefines various configuration variables. The template WorkSets that are delivered by default are:

You can rename these templates, if desired, by renaming the WorkSet folder and the corresponding WorkSet.cfg file. By default, these WorkSets are found in the example workspaces found here:

C:\ProgramData\Bentley\Promise CONNECT Edition\Configuration\WorkSpaces\Promise ANSI-IEEE Example\Worksets

C:\ProgramData\Bentley\Promise CONNECT Edition\Configuration\WorkSpaces\Promise IEC Example\Worksets

To modify configuration settings for a template WorkSet you can directly edit the configuration file. The configuration file for the template WorkSet has the same name as the template WorkSet itself and is located in the root of the “WorkSets” folder listed above.

You can specify any configuration variable you desire and set its value in this configuration file to achieve your desired goal. Please refer to this article for a complete listing of the application specific Configuration Variables. The following example would load project specific catalogs when creating a new project using this WorkSet as a template:

ELEC_CATALOG_PATH               = //MyNetwork/Catalogs/ProjectCatalogs/

Create New Templates

You can select the WorkSet picker in the Project Manager and press the Create WorkSet button to create a new WorkSet and assign it the name of the template you would like to create. Once the WorkSet is created, you can edit the configuration file that matches the name you assigned to the WorkSet.

You can specify any configuration variable you desire and set its value in this configuration file to achieve your desired goal. Please refer to this article for a complete listing of the application specific Configuration Variables. The following example would load a project specific catalog when creating a new project using this workset as a template:

ELEC_CATALOG_PATH               = //MyNetwork/Catalogs/ProjectCatalogs/

How to Utilize a Template WorkSet

  1. Select the WorkSet picker in the Project Manager and press the Create WorkSet button to display the Create WorkSet dialog.
  2. Specify a name for the WorkSet you wish to create.
  3. Choose your template WorkSet from the Template pull-down.
  4. After clicking OK to create the WorkSet the software will copy all contents from the template WorkSet to the newly created WorkSet which includes the configuration file that contains your custom settings.

Note: Any files you include within the template WorkSet folder will be copied to your newly created WorkSet.