When Studio is used together with a planning system, layouts that need attention are marked by the planning system with a red flag. This flag appears in the thumbnail of the layout in the Publication Overview Application of Studio.
A custom use for this flag can also be configured. When triggered, the flag is colored yellow.
How it works
A metadata field is configured in Studio Server (see below). When this field holds any value (typically a message for the user, added to the field through the Properties window of the layout), the flag turns yellow. The user can hover the mouse pointer over the flag to see the message as a tooltip.
Note: When a planning system is used and that system also sends out a trigger for the flag, the custom use of the flag is overruled and the flag will appear red.
Figure: Flags for a layout in the Publication Overview Application: the default red flag (left) and a custom yellow flag (right).
Info: The described step can only be performed on the on-premise version of Studio, not on the cloud version.
Step 1. Add the following option to the configserver.php section of the config_overrule.php file:
- Option: ContentStationCustomFlagField
- Value: The name of any (custom) metadata field of type String
- Example: Here, a custom metadata field named C_Publication_Overview_Flag is used:
new Feature ('ContentStationCustomFlagField', 'C_PUBLICATION_OVERVIEW_FLAG')'
Step 2. Make sure that the metadata field is available in the Properties dialog so that users can add a message that will appear as a tooltip.