Adorners

Use this table along with the ENPS Fields table to configure rules-based custom color-coding in rundown columns and rows. Such adorners are displayed as colored borders around the target column and/or rows.

Example use cases include:

  • coloring a specific column according to the story category

  • highlighting an entire row if a story needs to be checked by the legal department

Extensive use of adorners may affect system performance.

Create an Adorner

For a Rundown Column

To set up a rundown column (field) so that it can be used with an adorner:

  • If the field already exists in the ENPS Fields table, tick the Adorner checkbox for that field.

  • If it is a System Field, navigate to the System Fields table, select it and click the Override button. Open the ENPS Fields table where the field definition will now appear as an editable row. Tick the Adorner checkbox and save your changes.

Next:

  1. In the Adorners table, create a new entry and give it a suitable and unique ID.

  2. Under Adorner Location, select the field you configured a moment ago.

  3. Next choose the color under the Color column.

  4. In the Visibility Criteria column define the rules that will cause the color to be applied. See Settings for details.

For a Rundown Row

Rather than choosing a specific rundown column (field), you can choose to have the color applied to an entire row.

If so, follow the same instructions as in For a Rundown Column, but skip the section on setting up the column (field). Choose RO Row when setting the Adorner location.

We recommend that coloring rows is used sparingly.

Examples

Video Approved Ticked

Let’s say you want to color the MOS Obj Slug column green when the Video Approved column has been ticked.

  1. Select the MOSObjSlugs field in the System Fields table and tick Override.

  2. Open the Local Fields table, locate MOSObjSlugs and tick the Adorner column.

  3. Save the table.

  4. Create a new entry in the Adorners table and name it, for example VideoApproved.

  5. Choose a green colour under Colors.

  6. Under Visibility Criteria, enter: TakeVideoApproved=True

  7. Save the table

  8. Open an ENPS client and test by adding the Video Approved column to the rundown. Ticking it should make MOS Obj Slug go green.

Story Status

Let’s say you want to colour the Segment depending on the status of the story.

  1. Open the ENPS Fields table.

  2. Create a new entry, e.g. with ID as ROStoryStatus.

  3. Make the Validation ComboBox and the Type Script+RO Column.

  4. Enter suitable values in the List column, with values separated by the pipe | character.

    For example, Incomplete|Written|Edited|Approved.

  5. Fill in Width, Default Caption and Just columns.

  6. Save the table.

  7. Open the System Fields table.

  8. Select the Segment field and tick Override.

  9. Open the Local Fields table.

  10. Locate Segment and tick the Adorner column.

  11. Save the table.

  12. Create a new entry in the Adorners table and name it, e.g. ScriptIncomplete.

  13. Choose a color under Colors.

  14. Enter ROStoryStatus='Incomplete' in Visibility Criteria.

  15. Save the table.

  16. Create another new entry in the Adorners table and name it, e.g. ScriptWritten.

  17. Choose a different color under Colors.

  18. Enter “ROStoryStatus= ‘Written’” in Visibility Criteria.

  19. Save the table.

  20. Follow the same four steps (Create entry... Save the table) for the Edited and Approved statuses defined in the List.

  21. Open an ENPS client and test by adding the StoryStatus column to the rundown. Choosing the relevant values should determine the colour of the Segment column.

Note that the Order column in the Adorners table is used to determine the priority of rules should more than one Adorner be defined for the same column. For example, if in addition to the Segment adorners based on ROStoryStatus you had another adorner using the Visibility Criteria, say Segment='Live'.

By setting the priority of this Adorner to 0 and the others referencing Segment to a higher number, you ensure that the color associated with 'Live' will take precedence if a user were to mistakenly select an ROStoryStatus value for the same row.

Settings

Setting

Description

ID

Unique name for the Adorner

Adorner Location

Where the colour should be applied.

Options that relate to ENPS are 'RO Row' and any field that has been defined as an Adorner (see How to create an Adorner below).

Color

Adorner color.

Choose a colour from the colour wheel.

Icon

Not relevant to ENPS.

Icon URL

Not relevant to ENPS.

Visibility Criteria

The rule that must be True to activate the Adorner, e.g. FieldID='SomeDesiredValue'.

The value being evaluated must be encapsulated within apostrophes ('), unless the value is a null. For example:

ScriptStatus='Ready'

Null values can be evaluated by using the word null with no apostrophes ('). For example:

ScriptStatus=null

Checkbox fields are either True or False, and multiple operators can be combined using AND and OR. An example might be:

ScriptStatus='Ready' AND VideoApproved=True.

Additional comparison operators are available, which operate based on text comparisons of the value (not dates or other complex type object comparisons):

Operator

Description

>

More than.

It will compare if the first value is more than the second value. If one or both values are text they will be compared alphabetically.

<

Less than.

It will compare if the first value is less than the second value. If one or both values are text they will be compared alphabetically.

>=

More than or equal to.

It will compare if the first value is more than or equal to the second value. If one or both values are text they will be compared alphabetically.

<=

Less than or equal to.

It will compare if the first value is less than or equal to the second value. If one or both values are text they will be compared alphabetically.

=

Equal to.

It will compare if the first value is equal to the second value.

!=

Not Equal to.

It will compare if the first value is NOT equal to the second value.

Order

Priority of rules should more than one Adorner be defined for the same column/row.