How-To Guides
...
Litmus Edge Manager User UI Gu...
Apply a Parameterized Template...

Step 3: Apply the Variables and Download the Parameterized Template JSON Configuration

1min

You can apply the variables to the template and download the JSON to verify the variables were correctly applied.

To apply the new variables and download the parameterized template:

  1. From the Parametrized Template panel, find the attribute to apply the variable. For this guide, it's the name of two DeviceHub Devices and Country code.

    Parametrized Template panel
    Parametrized Template panel
    
  2. Click the Edit variable button next to an attribute and use the drop-down menu to select the right variable for that attribute.

    Parameterized Template panel
    Parameterized Template panel
    
  3. Click the green tick next to the attribute after selecting the variable.
  4. Repeat steps 2-3 for the other two variables and their attributes.
  5. Click Save parameterized template. Then click Preview Template to open the Set Variables dialog box.

    Parameterized Template Save and Preview Button
    Parameterized Template Save and Preview Button
    
  6. Fill in details for newly added variables in the Set Variables dialog box:
    • Please refer to the list of country codes for ISO 3166 when choosing the appropriate Country_Code.
    • Please provide a suitable name for both of the devices.
    • Click PREVIEW.

      Set Variable dialog box
      Set Variable dialog box
      
  7. The Preview template dialog box appears. Verify the variables and click DOWNLOAD. The template's JSON configuration is saved on the computer.

    Preview template dialog box
    Preview template dialog box
    
  8. Open the JSON configuration file using Notepad and verify whether the variable names entered in the Set Variables dialog box are correctly displayed here.

    JSON preview for template
    JSON preview for template
    

Next Step