Edit button not visible

Lusifer1984
Tera Contributor

Hi Experts,

 

I have created a M2M table and the edit button is created automatically , but that edit button is visible only by admin we need that itil role shoud also able to view the same how to do that.

 

Luso

 

 

1 ACCEPTED SOLUTION

Hi @Lusifer1984 

So let's define set of ACLs for the m2m table, including Read, Write, Create & Delete .

Screenshot 2023-10-30 at 20.25.32.png

 

Enjoy the result.

TaiVu_0-1698672312057.png

 

Cheers,

Tai Vu

 

View solution in original post

7 REPLIES 7

Romario DPO
Tera Guru

Good morning Lusier,

In this case have you tried using a business function or user criteria?

I believe that if you use one of these, creating a function that limits field visibility only to authorized people, your problem will be solved.
But in this case, I believe you will have to develop a specific script for this.
I hope this helps or directs you to a possible solution.

From where I will get this Business function or user criteria ?

The best way to understand both is by consulting servicenow's technical documentation.


Follow the links below:

Business Rules:
https://docs.servicenow.com/en-US/bundle/vancouver-api-reference/page/script/business-rules/concept/...


User Criteria:
https://docs.servicenow.com/en-US/bundle/vancouver-employee-service-management/page/product/wsd-rese...

 

 

First read the documentation for a better understanding, see if it meets the requirements you want.
Generally, access control in servicenow is done via user criteria, business rules and others.

Tai Vu
Kilo Patron
Kilo Patron

Hi @Lusifer1984 

Where is the Edit button located?

If it is under Related List, you can configure List Control to manage the visibility of the button.

Sample below.

TaiVu_0-1698661008404.png

Uncheck Omit edit button.

Screenshot 2023-10-30 at 17.17.33.png

Configure list controls

 

Also make sure the ACLs works correctly for the user role you're checking on.

 

Cheers,

Tai Vu