System Property Show and hide based on condition?

Vivek Verma
Mega Sage
Mega Sage

 I have created some System properties, grouped properties in categories and created a property page to display properties. Now I want to show/hide one property on the basis of the value of another on the page.

I want to show/hide properties on basis of below conditions. Please see below screenshot:

enter image description here

In the above screenshot, if the logging level is set to 'warn', I want to show Logging Destination property, but if it is set to any value other than 'warn', I want to hide Logging Destination. Is this possible?

1 REPLY 1

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

I don't think you can do that at the normal view without some nasty UI Script. Perhaps it's doable with the newer look of properties which you e.g. finds under Service Catalog->Catalog Administration->Properties

 

find_real_file.png

 

then another option is to build this with a Portal page and make the magic there, but not sure it will be worth the effort of doing.