The CreatorCon Call for Content is officially open! Get started here.

Make fields in list view on Incident table as read only but only itil roles can edit them

kunjangondalia
Tera Contributor

I know that this is complete when I am able to quickly scan a list of Incidents, using List View. When on the default list view, the following fields should be present: Number, Opened, Short Description, Caller, Priority, State, Area, Assignment Group, Assigned To, Updated, Updated By    All fields in the list view are read-only   OR   The following fields are editable by the ITIL role: Short Description, State, Category, Assignment Group, Assigned To

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @kunjangondalia 

 

I am a coder, but 

1. why only for ITIL user?

2. This can be done oncelledit Client script and you need to check logged in user has ITIL role or not.

 

Give a try and share feedback.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

1. Client Requirement.

2. Can you share how can I make it read-only?

 

https://www.servicenow.com/community/developer-forum/how-to-make-fields-mandatory-with-oncelledit/m-...

 

https://www.servicenow.com/community/developer-forum/are-oncelledit-client-scripts-only-applicable-f...

 

https://www.servicenow.com/community/developer-forum/oncelledit-client-script/m-p/2156300

 

Learn N Grow

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************