Make Container Split Visible/Active on Condition

Marques2
Tera Expert

Helsinki: Patch 7

Hello All,

I am trying to make a container split ONLY appear based on checked boxes outside the container. I've attempted to do this via a UI Policy with no luck. Let me share some screen shots to help explain:

Here are the two check boxes outside the container. When they both = TRUE I would like the container split to be "visible" or active.

find_real_file.png

Here's how the container fields look when they are both checked (desired behavior😞

find_real_file.png

When Add is selected, the Add Info stays to the left of the Split (desired behavior).

HOWEVER, when the Remove is selected, it appears to the right of the container, which is NOT desired:

find_real_file.png

Also, here's the UI Policy I have in place, with no luck:

find_real_file.png

The end goal is to ONLY make the container split visible/active when both check boxes are selected. IF one of them is selected, I'd like to see everything appear directly under the title Server Modifications.

I'm open to using another method such as Catalog Client Scripts if needed.

Any ideas?

Thank you all in advance!

-Marques

2 REPLIES 2

Chinthuja2
Giga Contributor

Hi,



i think the UI policies wont work for Container split. If you check the Service now wiki, they have mentioned this.



"Mandatory, Read only, and Set visible UI policies don't apply to Container Split and Container End variable types. Mandatory and Read only UI policies don't apply to Container Start variable type."



http://wiki.servicenow.com/index.php?title=Variable_Types#Container_Start.2C_Container_Split.2C_Cont...


Aman Gulati
Giga Guru

Were you able to get this done? I have the same ask and tried catalog client script and that also did not work.

 

 

Thanks

Aman