Manage Conditional Labels
Here one may define conditional labels based on a Metadata Query Language (MQL) based query such as "Highly Commented" based on objects with over 10 comments.
Each conditional label has a name, definition, query and icon that can be searched from a bundled library of icons, customized (e.g. change color), uploaded (from external sources), or even designed in the UI (start from a shape, color, etc.).
Conditional labels
-
are visible in the overview page of any object
-
can be displayed in search results and worksheets
-
can be displayed in data flow lineage diagrams.
Manage the Pool of Conditional Labels
Steps
-
Go to MANAGE > Conditional Labels in the banner.
-
The list of conditional labels is presented.
-
You may also
-
Filter for labels by Name.
-
Add a new label
-
Select a line and
-
Delete an existing label
-
Edit an existing label
Example
Sign in as Administrator and go to MANAGE > Conditional Labels.
By default, there are several conditional labels already defined.
Add a Conditional Label
Steps
-
Go to MANAGE > Conditional Labels in the banner.
-
The list of conditional labels is presented.
-
Click Add.
Example
Sign in as Administrator and go to MANAGE > Conditional Labels.
Click +Add. And enter the name as below:
Click SELECT ICON and select an icon from the picker.
Now you may edit the label below.
Edit a Conditional Label
Steps
-
Go to MANAGE > Conditional Labels in the banner.
-
The list of conditional labels is presented.
-
Select a line/label.
-
From here you may:
-
Edit the NAME and DEFINITION
-
Click EDIT under QUERY, and define a worksheet query used to identify objects to label.
-
Click UPDATE ICON to update the icon (pick, upload or design) associated with the label.
Example
Sign in as Administrator and go to MANAGE > Conditional Labels. Select the first line with the label named Not Certified.
Click EDIT under QUERY. Click +FILTER and select Certified.
Select equals and False as the condition.
Click outside the filter and then click OK.
Click OK and click SAVE.
Click OK.
The Not Certified condition label is now shown.
Update Icons
One may pick from a pre-defined list, upload and image or design an icon for conditional labels and metamodel objects.
Steps
-
Go to the object you wish to update the icon for.
-
Click UPDATE ICON to update the icon (pick, upload or design) associated with the label.
-
Go to the Select tab to pick from a pool of available icons. You may Filter by name of the selections and specify a different COLOR.
-
Go to the Upload tab to upload an existing icon graphic
-
Go to the Create tab to create a new icon based upon some simple guidance.
-
Example
Once you have the Update Icon dialog open:
Select an Icon
Go to the Select tab and type "fol" in the Filter box.
select another COLOR and then select Follow The Sign:
and click OK and then SAVE.
Upload an Icon
Go to the Upload tab
Browse or drag and drop an icon graphic
and click OK and then SAVE.
Design an Icon
Go to the Select tab and type "fol" in the Filter box.
Specify the SHAPE, TEXT, BACKGROUND COLOR, BORDER COLOR and TEXT COLOR as above and click OK and then SAVE.
Export Conditional Labels
You may export the current set of conditional labels (all will be exported). They may be re-imported.
Steps
-
Go to MANAGE > Conditional Labels.
-
Click EXPORT and specify a FIle
-
Click EXPORT.
Import Conditional Lables
You may re-import a set of conditional labels after being exported.
The import does not delete or update existing conditional labels.
Steps