Model Templates

You can designate any model in a repository as a Template. This enables other KnowledgeKube users to quickly build new applications based on the model template.

New models created using a template will be based on the current saved version of the source model. Any changes to the source model will cause subsequent new models to inherit those changes, but will not affect existing models that are based on older versions of the template. Deleting a source model will also remove it as a template.

For a model to be used as a template, it must be given a Template Definition. As well as determining certain identifying features of the template - including a name, description and preview image - the definition allows you to assign Tasks, which require users to provide certain information when building an application from the template.

You can access a list of template definitions in the current repository by selecting Model > TemplateManage Definitions. This will open the Repository Template Definitions window, which allows you to edit and remove definitions as required.

The Repository Template Definitions window.

To manage template definitions, you will need to be assigned the appropriate user permissions. If you do not have the correct privileges, you will not see this option in the menu. If you would like to access this feature, contact a system administrator.

Selecting any item in the list will cause the pane near the bottom of the window to display details about that item, including its name and description.

Viewing information about a selected template definition.

In turn, templates are created and managed from the Template Definition window, which you can access by navigating to Model > TemplateDefinition.

Creating a new model template.

Refer to the following topics for more information about working with template definitions:

Description Further Reading
Create a new template based on the current active model. Defining a Model Template
Manage custom tasks assigned to a template. Template Tasks
Modify an existing model template's properties. Editing a Model Template Definition
Permanently remove a model template from the current repository. Deleting a Model Template Definition