How to make UI Action invisible from UI policy or Client script based on condition

Asmita7
Tera Expert

Hello friends,

 

There is an OOTB UI Action which I do not want to customize.

My requirement is that the UI Action is visible based on some condition / inputs on the page.

 

Can I achieve it through UI policy or client script ?

 

Please suggest.

11 REPLIES 11

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,
Visibility of UI action can only be managed within UI action only within the condition.

SaurabhGupta_0-1703743011375.png

C

If the provided solution meets your needs, kindly consider marking it as helpful and accepting it as the solution. This helps others who may have similar questions.


Thanks and Regards,

Saurabh Gupta

Yes. But the problem is client is not agreed to change any OOTB UI action condition.

Hi @Asmita7 ,
You can override it the OOTB ui action with the custom one without touching the OOTB one.

Override a UI action for an extended table (servicenow.com)

How to override UI Actions for an extended table - Support and Troubleshooting (servicenow.com)

C

If the provided solution meets your needs, kindly consider marking it as helpful and accepting it as the solution. This helps others who may have similar questions.

 


Thanks and Regards,

Saurabh Gupta

Hi @Asmita7 
Are you able to achieve the desired result?

 


Thanks and Regards,

Saurabh Gupta