In my experience, Conditional UI generally applies to all users. Case in point, the OP's example was based on PLUSSISGIS being set. As such, it drives me nuts that Conditional UI *requires* sig options / security; in my experience, it's extra complexity that is entirely beside the point in over 90% of the cases. Hence, my RFE for
making the relationship between Conditional UI and security voluntary. (IBM declined
its predecessor, so votes are welcome for my new one.)
But yes, I agree that, "
If the conditions are different depending on security group then maybe the conditional UI is still an option." However, if my RFE was implemented, you could still
choose to base the conditions on security group or (better) granted options to satisfy such a case.
------------------------------
Blessings,
Jason Uppenborn
Sr. Technical Maximo Consultant
Ontracks Consulting
------------------------------
Original Message:
Sent: Thu April 09, 2020 11:40 AM
From: Steve Lee
Subject: Collapse application section based on field value?
Agreed this would be the simplest way if in your case the same condition applies to all users. If the conditions are different depending on security group then maybe the conditional UI is still an option. In this way then you are only having to work with the UI and the conditions when rules change and these could be just assigned to the READ sigoption. Both methods would work so really just depends on the preferred administration process when any changes occur to the rules you want to implement.
------------------------------
Steve Lee
Maximo Technical Sales Specialist
IBM
Leeds
Original Message:
Sent: Thu April 09, 2020 11:22 AM
From: Jason Uppenborn
Subject: Collapse application section based on field value?
In my opinion, using "display = true or false" is too much work. Not only do you have to open the Conditional UI dialog and put records and data in a fistful of tables, but you also have to remember to include more in your Migration Manager package. Putting the condition on the grant of the sig option is less work that accomplishes the same end. You could argue that it's more work to go back to the sig option definition and hide it after you conditionally grant it*, but I data-load sig option definitions and their (possibly conditional) grants. So, the extra work of hiding the sig option is merely another line in my XML for data loading.
* If you don't hide a sig option after conditionally granting it to MAXEVERYONE, then admin who doesn't know better might come along and call you, asking what this permission was granted for, or ungrant it be cause they thought "everyone" should not be granted this permission or any permissions in this app. So, it's better to grant Conditional UI sig options to MAXEVERYONE, with a Condition if applicable, and then go clear the Visible checkbox on the Sig Option.
------------------------------
Blessings,
Jason Uppenborn
Sr. Technical Maximo Consultant
Ontracks Consulting
Original Message:
Sent: Thu April 09, 2020 10:52 AM
From: Steve Lee
Subject: Collapse application section based on field value?
Yes I think that would be the way to go to put a condition on the section for display = true or false
------------------------------
Steve Lee
Maximo Technical Sales Specialist
IBM
Leeds
Original Message:
Sent: Thu April 09, 2020 10:11 AM
From: Jason Uppenborn
Subject: Collapse application section based on field value?
That's sad. Then, maybe plain old putting the sig option on the control and putting a condition on the grant of that sig option to MAXEVERYONE to make the section conditionally and completely disappear will be acceptable.
------------------------------
Blessings,
Jason Uppenborn
Sr. Technical Maximo Consultant
Ontracks Consulting
Original Message:
Sent: Thu April 09, 2020 03:42 AM
From: Steve Lee
Subject: Collapse application section based on field value?
I don't think the collapsed property is available on a section in the
conditional UI options I tried this yesterday and could not get it to work
so may not be possible
Regards
Steve
Sent from my iPhoneUnless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Original Message------
You should be able to do this with Conditional UI, setting the "collapsed" property to "true" or "false" as needed.
------------------------------
Blessings,
Jason Uppenborn
Sr. Technical Maximo Consultant
Ontracks Consulting
------------------------------
#Maximo
#AssetandFacilitiesManagement