Skip to main content

FieldLogs

Adding Template Facets

Facets help in identifying a Template or providing information to the Users who run the Task. They are particularly useful when information that does not exist in the manuals needs to be displayed in the Templates. Facets can also be used to define properties that need to be reported in PDF and also during Task execution.

You can add Facets to Templates and Steps. In a Template, the Facet is displayed at the top of the Template. In a Step, the Facet is displayed at the bottom of the Step.

To add a Facet:

  1. In the Template Facets section of the Templates_Information_Editor__tab_icon.png Templates Information Editor, click Plus_-_Facets.png. A new row with empty fields is displayed.

    Template_Facets_-_1.png

    Note

    To add a Facet to a Step:

    1. Go to the Step_Information_Editor.png Step Information Editor.

    2. In the workspace pane, select the Step.

    3. Expand the Step Facets section of the Step Information Editor.

    4. Follow the steps given below.

  2. Enter the Class, Attribute, and Value in the corresponding fields.

    Add_details.png
  3. Select the checkbox in the Visibility_Set.png column to make the Facet visible during execution.

    Note

    To add a Facet after a row, click Add_another_row.png next to the row. To delete a row, click Delete_row.png.

  4. When you double click icon.png near Template Facets, you can copy the text from one Template to another Template and Template to Step level.

    Template_facet_copy_button.png
  5. In order to copy the code from the Template to the Step level.

    Copy the code from Template Facets, and go to Step Information Editor.

    Step_Information_Editor.png
  6. Paste the copy in Step Facets.

    step_facets.png

    It displays the message as shown below.

    Copied_code.png
  7. In order to copy the code from one Template to another template.

    When you double-clickicon.png near Template Facets, you can copy the code and paste it into another Template.

    Template_level_copied_button.png
  8. Select the other Template from the Library Pane, go to Template Editor > Template Facets and paste the copied code as shown below.

    pasted_the_copied_code.png
  9. Click Save.

    Save_Template_Facets_-_1.png

    The Facet is added.

Template Facets during Task Execution

The values entered in the Template Facets are displayed in Execution Preview.

execution_template_facet.png

During the execution of the Template, The Template Facet is displayed at the top of the Execution panel and the Step Facets are displayed on top of the corresponding Steps.

template_step_facet_execution.png