what is the difference between on cell edit in client script and list view in acl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2018 12:38 AM
Hi All,
What is the difference between on celledit() and listview in acl?.
which will execute first either client script or ui Policy when a form is loaded first?.
What is the functionality of isloading parameter in client script?.
Please help me in these questions. Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2018 12:52 AM
ACL's work on the server whilst client scripts only work in the client so are less secure and can be bypassed by anyone with sufficient knowledge/skill
client scripts execute first, check this out for more info
isLoading returns true if the form is loading. A lot of fields will be populated onLoad so unless you exclude when g_form.isLoading() all you onChange scripts will execute as well.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2018 01:00 AM
Hi,
1)onCellEdit() — runs when the list editor changes a cell value.
list_edit - Allow users to update records (rows) from a list.
2)Client script will execute first.
https://community.servicenow.com/community?id=community_blog&sys_id=512d26e5dbd0dbc01dcaf3231f9619ce
3) isLoading: identifies whether the change occurs as part of a form load.
The loading section prevents the code from running just because the page loaded <technically the value DID change on load>
Thanks,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2018 12:05 AM
Can you mark my answer as Correct if it solves your issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2018 01:14 AM
Mark the answer as Correct and close the thread.