Document toolboxDocument toolbox

(12.04.120) How to Use Template Profiles in IGEL UMS Web App

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. 

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.




Overview

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

  1. Activating the Enable template profiles option in the UMS Console or in the UMS Web App. For details, see How to Activate Template Profiles in the IGEL UMS.

  2. Creating a template profile by adding template keys and values as described below.

     

  3. Assigning the template profile and the template values in the Devices area. 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.

Creating a Template Profile

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

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

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

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

    image-20240614-111041.png



    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


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

    1. Click  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 image-20240614-112657.png Save.

       

  5. To create template keys:

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

    2. Click Create new template key.

       

    3. Give a Name to the key.
      The given name:

      • cannot be empty.

      • has to be unique.

      • cannot be more than 200 characters long.

    4. Optionally, give a Description.



  6. To add values to the template keys:

    1. Click + Add.

    2. Define the desired parameter value in the Value field, or in case of parameters with a fixed value range, select from the available value options.

    3. Add a Description.
      In case of parameters with a fixed value range such as selection menu or checkbox, the available options will be provided for selection. Click + Add All to add all predefined values to the template key. You can change the predefined description of the parameters according to your needs.

      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.



    4. Click image-20240614-112758.png Save.


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

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

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:

     

    The use of template keys is marked in the Profile Configurator with the following symbols:

    • image-20240614-113044.png - There is a saved template key change in one of the child pages.

    • image-20240614-113056.png - There is a saved template key change in the page. / There is a saved template key change in the tab.

 

  1. Save the template profile and continue with assigning the profile and values to the devices.