IBM Support

Configuring a Conditional Property for the "Everyone" Security Group

Question & Answer


Question

Is it possible to change the label text of a control conditionally?

Answer

Configure a conditional property

Select the Conditional Expression Manager application in the Administration module
1. Click New Row
2. Enter the following information

      Condition = NOITASSET
      Type = Expression
      Expression = :assettype<>'IT'


Application Designer Application
1. Select the Application Designer application
2. Select the Assets application
3. Export the application to create a backup copy
4. Create a new Signature Option called NOITASSET



5. Click OK
6. Click the Safety Tab and click the Control Properties icon
7. Enter NOITASSET into the Signature Option field



8. Click Configure Conditional Properties
9. Enter EVERYONE in the Security Groups section
10. Click Select Conditions and enter NOITASSET condition
11. Click Enter Property
12. Enter Label in the property and SAFETY SETUP in the value.



13. Click OK
14. Click Save Application definition

Security Group application:
1. Select the security groups app in the security module
2. select the EVERYONE group and click the applications tab
3. select the Assets application
4. Find the NOITASSET option and Grant access to it

5. Click Save Group
6. Sign out.

Test:
1. Sign in as Wilson (Wilson belongs to the maxadmin and everyone groups)

2. Select the Assets application in the Assets module.
3. Select Asset 7400 with 'IT' in the type field

4. Safety is displayed for IT asset (i.e. IT Asset is not being evaluated by the conditional property)
5. Select the non-IT asset 11200 (i.e. type field is left blank)
Result: The conditional label SAFETY SETUP is displayed for the NON-IT asset

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1;7.1.1;7.5","Edition":"Edition Independent","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21383900