Creating campaign template

A campaign template is created from an existing campaign. To create a campaign template, from an existing template, do the following:

  1. On the Developer screen in the GENERAL group, click Campaigns.
    The Campaigns screen appears.
  2. Click on the corresponding view button of a Campaign that you want to save as a template. For more information on viewing a Campaign, see Viewing a Campaign
  3. To create a template from the Campaign you are viewing, click Create template.

    Add template screen appears.
  4. On the Add template screen, add the following details
    1. The Name is a unique name for the template
    2. The Description describes the template
    3. The Group is a unique or existing name to categorize different Campaign templates. This is an autocomplete search field to find existing group names or enter a new Group name.
    4. The Natural description is a human-readable string that includes field keys to describe the Campaign. To include a field key, hit the "[" key which will complete the "[[]]" key field. The string within the brackets acts as a variable to hold the values of the keys that is used in the Natural description. For example: "[[thingkey1]]"
      Requires SuperOPS+ permission to select theShared global checkbox to share the template with all organizations. Only SuperOPS can edit/delete a globally shared Campaign template.


    5. Fields will automatically create field keys with every "[[]]" included in the Natural description.

      1. The Key is a unique name from the Natural description
      2. Enter a Field description that describes the field. The description you enter here is shown when you hover over the field Values in the Campaign template selector. For more information on Campaign template selector, see Adding a new Campaign from templates.
      3. The Type is a select box of all the types of keys that can be included. (String, Number, Tags, Thing key, Property key, Alarm key, Attribute key and so on).
  5. After defining the fields, add the keys to the Campaign JSON on the right.
    These key values are entered while adding a new Campaign from templates. 

If the key is not in the Campaign JSON, it will not be used when creating a Campaign.