Adding Display Conditions
You can add display conditions to each of the format fields or text. This determines whether the text appears.
To add conditions to fields or text:
- From the Home tab, click Template Edit.
- Select the template you want to modify, and then click Edit.
- Next to One-line Text for, select the item for which you want to add a condition. For this example, we have chosen LV Breaker.
- In the format box, select the field or text to which you want to add display conditions. You can drag a new field to the box, if desired. For our example, we have added the connection type (Conn Type) field. The area on the right displays the sample text "Feeder." At this point, no conditions are applied.
- Click Add Display Condition.
- Select the conditions you want to be true that will cause the selected field or text to display. In this example, we have selected to display the Conn Type field value when the connection type is equal to Feeder.
- Note that the preview column is set to "Feeder," and the Preview area displays the text, "Feeder."
- Click Add Display Condition again.
- Select the next display condition. In this case, we want to also display the value when the Conn Type is equal to Tie. We use an "or" statement because we want either condition to be true.
- Note that the preview area still displays the text "Feeder." This is because the first condition is still true.
- In the preview column on the right, clear the Conn Type text and note that the text no longer appears in the Preview area. This is because the When blank, display box is set to display nothing when the field is blank.
- In the Preview column on the right, change the Conn Type text to Tie and note that text appears in the Preview area.
- When you are finished making changes, do one of the following:
- Click Save As to save your changes to a new custom template. You can type a new template name and then click OK
Click Save to save your changes to an existing custom template.
-
Click Close to close the Text Templates dialog box.
- Your custom template is displayed in the Select Text Template list and is automatically applied to the one-line.
-
If you create multiple custom text templates, you can use the Select Text Template option to apply the desired template to the one-line.
Note: If you do not see the Add Display Condition button, make sure you have selected a field in the box above.