Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

making fields in the list view not editable

VSN
Tera Expert

I have a requirement, 

when ever the fields in the form is readonly, on that time fields in the list view also read only. 

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@VSN 

you can make field on list readonly using list_edit ACL

you should know under which condition the field is made read-only on form; use the same condition in the list_edit ACL when you create it

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

thanks @Ankur Bawiskar .

may i know how to write ACL to make  field in the list readonly for the  user who have  program user role. 

@VSN 

so what did you start and where are you stuck?

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

@Ankur Bawiskar 

my original requirement was, if user select the  status date in the status report table, it will compare the lock date field in the status lock date. Given the lock functionality has been applied to the previous month records, so  it will make field   in the status report table read only for the program user role user. 

we achived this functionality through script include and client script.

but  fields in the status report in read only for the form. 

 

i got a new requirement to Given the lock functionality has been applied to the previous month records, the user was also not able to edit status report fields in the list view also.

how to achive this