Hi All, I am calling a client script, on a button ...
# suitescript
n
Hi All, I am calling a client script, on a button click of UE, the client script performs SubmitFields action to change the Approval Satatus and reason. It works fine when i run it as admin. But with a "View" role on that record, it shows error that i need higher permission. Is there anyway to run the script without changing the permission ?
m
not while submitting via client script. but you could alter it a bit so the client script sends a request to a suitelet script and have the suitelet script submitFields while set to "execute as role: admin"