how can I use ui action to hide button?What is the ui action visibility?

roop1
Kilo Contributor

how can I use ui action to hide  button?What is the ui action visibility?

 

1 ACCEPTED SOLUTION

Hi,

that's correct

The UI action will only be shown when incident is in Resolved state.

For all other states it will be hidden

UI Action condition evaluate when form loads

Happy learning

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

12 REPLIES 12

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Roop,

You can show or hide the UI action button via UI action conditions whereas UI action visibility allows you to show or hide based on views.

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/administer/list_administration/co...

 

- Pradeep Sharma

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Roop,

UI Action condition: You can show or hide the UI action button on a form based on UI action conditions

UI action visibility: It allows you to show or hide based on views. A UI action is available for a given view according to the following rules.

  1. If there are no visibility rules, the action appears on all views.
  2. Any exclude rule on a given view means that the action does not appear on that view.
  3. If there is at least one include rule, then the action appears only on views that are specifically included.

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/administer/list_administration/co...

 

- Pradeep Sharma

Pranav Bhagat
Kilo Sage

Hi ,

 

You can use UI Actions conditions to hide or show the button.

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Pranav

Repeat.