Sei sulla pagina 1di 5

HOW TO CHANGE THE FIELD COLOR USING THE DESIGNER CONDITIONAL PROPERTIES IN MAXIMO 7.

1
1. Go to the Conditional expression manager module found in the Administration menu. For this exercise well create 5 conditions with names WOPRTYEQ1 to WOPRTYEQ5, the conditions to be entered will be the followings: WOPRTYEQ1

WOPRTYEQ2 to WOPRTYEQ5 Use the expressions :wopriority = <corresponding priority> where <corresponding priority> goes from 2 to 5

2. Enter the Applications designer module found at System configuration Platform configuration, inside this module edit the application WOTRACK, select the tab Work order and get the properties for the WOPRIORITY field inside the application, as we show in the next screen:

Use READ as Signature Option and click the Configure Conditional Properties button

Use EVERYONE as the security group, because the condition should be available for all the users, you can specify a security group containing only users with access to the WOTRACK application, both are valid options.

Enter the defined conditions WOPRTYEQ1 to WOPRTYEQ5

For each entered condition enter the following properties Condition: WOPRTYEQ1 Property: cssclass Value: bgred txtwhite Condition: WOPRTYEQ2 Property: cssclass Value: bgblue txtwhite

Condition: WOPRTYEQ3 Property: cssclass Value: bgmaroon txtwhite Condition: WOPRTYEQ4 Property: cssclass Value: bgorange txtwhite Condition: WOPRTYEQ5 Property: cssclass Value: bggreen txtwhite You should get a screen similar to the following:

Click the OK button and save the application, enter the Work order tracking application and try it by changing the values of Priority field youll see changing the background color of the field according to the entered value.

You can use labelcss if you wish to change the text and background color of a label

Potrebbero piacerti anche