Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can use template keys in profiles to avoid having to set up numerous profiles which differ only in terms of a few points. The template keys contain parameters that are to receive divergent values for different devices. In addition, there are static template keys that receive their values from the device. The profiles containing template keys are called template profiles. 

Info

Template keys, values and template profiles created in the Console are also available in the UMS Web App, and vice versa. The following are only available in the UMS Console:

  • Deleting template keys, template key directories and values

  • Moving template keys from one directory to another

  • Exporting and importing template keys

  • Using Value groups

For details on the listed features, see Template Profiles in the IGEL UMS.

...

Prerequisites

The following steps give you an overview of how template profiles are used in the UMS Web App:

...

Enable template profiles option

...

is activated. For

...

more information, see How to Activate Template Profiles in the IGEL UMS.

...

Access the Template Keys Dialog

You can create template keys and values

...

and apply them to the parameters in the Template Keys dialog. To access the dialog:

  1. Edit an existing profile or create a new profile.

Info

In the IGEL Web App we always use the Profile Configurator to create template keys and values. For more information on how to create profiles

...

, see How to Create and Assign Profiles in the IGEL UMS Web App

...

.

...

To use template keys and values in profiles, proceed as follows:

...

  1. In the Profile Configurator, go to the parameter for which you want to use the template key.

  2. Activate the parameter and click the template key icon at the right side to open the Template Keys sidebar.

...

Info

Certain parameters cannot be configured with template keys and only offer the

...

option inactive or active. This applies for example to passwords or parameters which depend on other configuration settings.

...

The following template key types are listed in

...

the Template Keys tree node:

  • Custom 

    Here you can create your template keys and directories and template key values.

  • Static

    The values of static template keys are received directly from the device. Static template keys are marked with the § symbol. The following static template keys are available:

    • MAC: MAC address of the device

    • HOSTNAME: Host name of the device

    • UNITID: Unit ID of the device

    • SERIALNUMBER: Serial number of the device

Create Template Key Directories

To organize your template keys under directories, create the directories first:

  1. Click 

...

  1. Image Added Create new directory.

  2. Give a name to your directory. The name cannot be empty and it cannot be more than 200 characters long.

  3. Click

...

  1. ☑ or press [Enter] to save.

    image-20240805-112642.pngImage Added

Note
  • You can only delete template keys, template key directories and values in the UMS Console.

  • You can only move template keys from one directory to another in the UMS Console.

Create Template Keys

To create template keys:

  1. Select the directory under which you want to create the template key.

  2. Click Create new template key.

...

  1. image-20240805-121537.pngImage Added

  2. Give a

...

  1. Name to the key.
    The

...

  1. name:

    • cannot be empty.

    • has to be unique.

    • cannot be more than 200 characters long.

  2. Optionally, give a

...

  1. Description.

...

Info

The

...

Type for the key is stipulated by the selected parameter. For example, the type is going to be StringType for a parameter with a string field.

Add Template Key Values

To add values to the template keys:

  1. Click + Add.

  2. Define the desired parameter value in

...

  1. the Value field, or in case of parameters with a fixed value range, select from the available value options.

...

Add a Description.

...


  1. In case of parameters with a fixed value range such as selection menu or checkbox, the available options will be provided for selection. Click

...

  1. Add

...

  1. all to add all predefined values to the template key. You can change the predefined description of the parameters according to your needs.

Tip

Using

...

Add

...

all can be helpful when parameters are known by their predefined Descriptions rather then their Values, for example, the Timezone parameter. With all the Descriptions listed, it is easier to find the predefined Value that you are looking for.

...

image-20240805-114103.pngImage Added

  1. Define the Description.

  2. Click image-20240614-112758.pngImage Added Save.

If you do not want to save the template key, click Cancel.

If want to modify an already saved template key, select the template key in the tree and click edit.

...

Note

Template keys can be used in several profiles. Renaming a template key makes all profiles using the template key partly undefined. Check these profiles and deactivate or replace the edited template key there.

Apply the Key to the Parameter

  1. Select the Template Key for the parameter and click [+] Use. The key is displayed at the bottom. 

...

  1. image-20240805-133142.pngImage Added

...

Tip

You can also combine template keys by typing the keys manually:

...

image-2024-2-19_16-24-34.pngImage Added

When you assign the values, both keys will be resolved and the displayed value will be a combination of both.

...

  1. Click Set key to apply the key with its values and return to the profile.
    The key is shown in the profile parameter:

    Image Modified

...

  1. When a template key is in use, it is marked in the Profile Configurator with the following symbols:

...

Image Removed

  1. image-20240614-113044.pngImage Added - There is a saved template key change in one of the child pages.

...

Image Removed

  1. image-20240614-113056.pngImage Added - There is a saved template key change in the page.

...

  1. / There is a saved template key change in the tab.

  2. Save the template profile

...

  1. .

Tip

The template keys used in the profile are listed under the Template Key Relation tab of the Profile Management panel.

image-20240805-132737.pngImage Added

Assign Profile and Values to Devices

Assign the template profile and the template values in the Devices area to individual devices or device directories. For more information on how to assign them, see How to Create and Assign Profiles in the IGEL UMS Web App and How to Assign Objects in the IGEL UMS Web App.