We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

read acl on specific field

sunilsargam
Kilo Sage

I need to create an ACL on core_comapny table but only NAME and CITY field shds be visible visible to the user. How can we achieve this with snc_internal role?

 

I do not have any read acl on snc_internal role for core_company table.


Thank you

Sunil.

7 REPLIES 7

Ankur Bawiskar
Tera Patron

@sunilsargam 

what's your exact business requirement for this?

you will have to have field level READ ACL on other fields to block if user doesn't have snc_internal role

OR

you can use onLoad client script to hide those fields on form but those will be seen from list

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

i want to show only this 2 fields information to user when they open the table, no other field shd be visible. 

@sunilsargam 

then create field level READ ACL on all fields of that table excluding Name and CITY and add admin in roles section

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

1. Table.None ACL with snc_internal role

2. Table.Field ACL with snc_internal role

3. Table.* ACL with snc_internal role

 

im not sure how to stop user from viewing all data except fields? the table.none will give access to all of the data right?