Question & Answer
Question
Is it possible to change the color of a tab's label conditionally?
Answer
You can set a condition on the properties of a tab to change the color of the label conditionally.
First, create a condition in the Condition Expression Manager.
Change the autonumber for the condition name to something more memorable if you want:
Once you have your condition, save and launch the Application Designer application.
For this example we will make the label of the Plans tab of Work Order Tracking appear Orange when the condition is true:
On the properties of the Plans tab, select a Signature Option for this condition, you can create your own or use an existing option. For this example we will use the READ option:
Next select the Configure Conditonal Properties button.
Set the Security Groups to get the condition and in the bottom section set the property and value for when the condition is true:
The property is labelcss and the value when true is txtorange.
Here is a list of other values you can use:
txtblack { color:#000000; } txtred { color:#FF0005; } txtgreen { color:#00FF00; } txtdarkgreen { color:#00BB00; } txtblue { color:#0000FF; } txtdarkblue { color:#000080; } txtmaroon { color:#800000; } txtpurple { color:#880088; } txtorange { color:#FFA500; } txtyellow { color:#FFEE00; } txtgray { color:#C0C0C0; } txtwhite { color:#FFFFFF; } |
[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Appl Designer","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21578950