Hi, I have the saved search in the client script f...
# suitescript
s
Hi, I have the saved search in the client script filedchanged event to set items on the select field by location-wise on Suitelet Form(External URL). On the event I'm getting error "JS_EXCEPTION INSUFFICIENT_PERMISSION Insufficient privileges" on Suitelet.
b
client scripts run with the permission of the current user
1
for an external url, thats basically no permissions since its public facing
s
Hi @battk so there is any way to use client script on an external URL?
b
dont do anything that requires permissions in the client script
for example, do the search in the suitelet instead and set the data on a field that you use in the client script
s
Ok Thanks