Show TOC

Procedure documentationWorking with Templates Locate this document in the navigation structure

 

You use this procedure for creating templates of objects, such as integration flows and channels, to reuse the configuration data while creating multiple integration flows or channels that require similar configurations. When you save an integration flow as a template, it is stored locally at a defined path. When you save a channel as a template, the adapter-specific and modules configuration of the channel is stored as a template in the ES Repository.

Procedure

Creating an Integration Flow Template
  1. In the main menu, choose   Process Integration   Templates   Integration Flow  .

  2. In the Integration Flow Templates dialog, choose New.

  3. In the Integration Flow Template dialog, enter a name for the template and choose Save.

  4. In the Model Configurator, configure the elements in the integration flow template and save the changes.

  5. If you want to create a template of an already configured integration flow, follow the substeps below:

    1. Open the required integration flow in the Model Configurator.

    2. In the main menu, choose   File   Save As...  .

    3. In the Save as Template, enter a name, and choose Save.

  6. If you want to change the location to store the templates, follow the substeps below:

    1. In the main menu, choose   Process Integration   Change Preferences  .

    2. In the Preferences dialog, choose PI Tools Configuration→Tool-specific from the left pane.

    3. Under Set Template Storage, select a path for saving the templates and choose OK.

    Note Note

    By default, the templates are locally stored at C:\templates and they are not an object in the Integration Directory.

    End of the note.
Creating a Channel Template
  1. In the main menu, choose   Process Integration   Templates   Channels  .

  2. In the Channel Templates dialog, choose New.

  3. In the New Channel Template dialog,

    enter a name and choose a Software Component Version and Namespace from the ES Repository under which you want to store the channel.

  4. Choose Finish.

  5. In the editor, configure the channel attributes and save the changes.

  6. If you want to create a template of an already configured channel, perform the steps below:

    1. In the Model Configurator editor tab, select the channel.

    2. Double-click to open the Channel editor.

    3. From the toolbar of the editor, choose Save as Channel Template icon.

    4. In the Save as Channel Template dialog, select a Software Component Version and Namespace from ES Repository under which you want to store the channel template.