UI action visibility not working

benl
Giga Contributor

Hi Guys, I have an issue where another admin has created a UI action (button) called 'form_button' and I am unsure how he has controlled its visibility.

Currently I can see 'form_button' if I impersonate a user with 'Role A' but I cannot see it when impersonating users with 'Role B' or 'Role C'. Id like to change the visibility to include 'Role C'.

In the action itself, the UI action visibility section is empty, and there are no roles specified in the condition or script sections. For this form there is only 1 view and I cant find any client script that is referring to 'form_button' either.

Where else should I be looking? Why does 'Role A' see the button but not 'Role C'?

Many thanks in advance.

- Ben

1 ACCEPTED SOLUTION

benl
Giga Contributor

Thanks for your help guys. It seems this was an OOB UI error. This was fixed after upgrading to Helsinki.


View solution in original post

12 REPLIES 12

benl
Giga Contributor

Edit: And also have access to to read a work order


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Beni,



Check for Condition field in UI action or else check section 4.3 on how you can control visibility with views


UI Actions - ServiceNow Wiki


Hi Pradeep, Thanks for your reply.



As mentioned above there are no conditions set. And there is only one view of this form.


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Thank you benl for the update.


Can you check if there is any client script which is hiding it.


http://www.servicenowguru.com/scripting/client-scripts-scripting/removing-form-buttons/


Thanks Pradeep,



Yes I have added 'script' to my list view of client scripts, and searched for ' *form_button ' but there are no client scrips which reference this button.