Need onCell edit script to work on most of fields on List view on Risk table

lakshmi_laksh
Tera Contributor

Hello,

I have a requirement where many fields need Oncell edit functionality on story table List view, using script include and oncell edit client script. change on field should show pop up and remain old value
need help on this.

lakshmi_laksh_0-1722942163633.png

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@lakshmi_laksh 

so basically you want to restrict list edit?

if yes then why not use list edit ACLs for those many fields

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar ,
Yes to  restrict list edit for most of the fields, i was asked to write script include and client script for this.
i am not sure how to declare in script include and call in Client script(OnCell edit).

@lakshmi_laksh 

best practice is to use list edit ACL. what you will be doing in script include and ajax?

are you validating something based on which you will revert to old value?

you can use GlideAjax in onCell edit client script

what's your challenge?

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

@Ankur Bawiskar ,
Yes validating, changed made will be  revert to old value..
I am new at scripting, i do not know how to script GlideAjax in onCell edit client script..
would be helpful if you share code, or reference.