I have a Suitelet deployment set to; Execute as Ro...
# suitescript
e
I have a Suitelet deployment set to; Execute as Role - Administrator. Yet, if I try to do any sort of search.lookup on the client side, I get "Permission Violation: You need the 'Transactions -> Find Transaction' permission to access this page. Please contact your account administrator." Any idea why this would be?
When I change the Execute as Role to Full Access, it works as expected. I'm logged in as NOT admin. I wonder if that has something to do with it... Maybe you can't set the Execute as Role to Admin, unless you're an Admin?
e
This is strange. We do this regularly, but normally use the Administrator role to set it so maybe you’re right.
b
the client script runs with the permission of the current user
you have no choice on the client script
e
So how would I handle a suitelet with an attached client script that I want external users to be able to use? (i.e. Suitelet is available without login)
b
you have to make the client script make a request to a suitelet and make the suitelet do the search
keeping in mind that you are essentially making that search information public
e
That makes sense. Thanks for the help