I am creating a suitelet that has run as role "Adm...
# suitescript
s
I am creating a suitelet that has run as role "Administrator". It is hopefully going to be run with customer's that have the role "Customer Center". When I am running a search however, I am getting "you need permission Document And Files". Is there a way around this for the Customer Center role that someone has figured out? My initial thoughts, which I don't want to do, is to use the suitelet as an API: The customer will use the internal url, and then the app will use the external suitelet url to make "rest" calls.
c
Is the customer center role able to access suitelets? I was under the impression that they could not…
s
Yeah, I was able to access a suitelet from a customer
x
Is this an already existing saved search? Make sure you have "Run Unrestricted" checked on the search under the results tab.
t
how are you running the search? is it via the suitelet or thru the client script used in your suitelet? if client script then it would use the current role's permission and not admin