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
battk
04/02/2024, 11:24 AM
client scripts run with the permission of the current user
✅ 1
battk
04/02/2024, 11:24 AM
for an external url, thats basically no permissions since its public facing
s
Sagar Hiray
04/02/2024, 1:08 PM
Hi @battk so there is any way to use client script on an external URL?
b
battk
04/02/2024, 1:29 PM
dont do anything that requires permissions in the client script
battk
04/02/2024, 1:30 PM
for example, do the search in the suitelet instead and set the data on a field that you use in the client script