
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2020 05:40 AM
Hi everyone,
In the Asset table, i have a location field (reference type) and once we clicks that field, it shows locations and there is a New button also. I want to restrict that New button to only 2 users. When i go and check in the UI actions, there are 5 New buttons on Global table. So where and how i have to write the code to get requirement done.
Please help
Regards,
Indup
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2020 05:45 AM
When the location list is visible (where it shows the New button), click on a column menu and click on 'Configure>List Control'. You can give the two users a specific role and then add that role to the 'New Roles' selection.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2020 05:45 AM
When the location list is visible (where it shows the New button), click on a column menu and click on 'Configure>List Control'. You can give the two users a specific role and then add that role to the 'New Roles' selection.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2020 05:59 AM
Hi Cammack,
Thanks for your response. One doubt!!!
So can we create a custom role in service now? It wont create any problem right? And the other thing is, There is Omit New button check box is there. So, after giving 5 users a specific custom role, i will add them in Edit roles . So here do i need to check that check box Omit New button ?
Regards,
Indup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2020 07:17 AM
Hey Indup,
you can restrict that new button for some users in list control new roles and the user you have added in edit roles will have access to that edit button .if you check the check box of that omit new button will display on that list and if you clear the check box to displays the New button.
kindly mark Correct and Helpful if Applicable
Regards,
Indrajit.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2020 05:50 AM
Hi,
Couple of options as below.
1. Create ACL of type create for Asset table & restict it for users.
2. Do an insert & Stay for any Global UI Action & then change the table name to Asset & specify the visibility criteria in the conditions.