what is the difference between on cell edit in client script and list view in acl

sulochana
Tera Contributor

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.

 

 

 

4 REPLIES 4

Dubz
Mega Sage

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.

SaiRaviKiran Ak
Giga Guru

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

Can you mark my answer as Correct if it solves your issue?

Mark the answer as Correct and close the thread.