Hello.
I have deployed a SSP application on sandbox. It has the following structure:
myssppage.ssp
- ajax call to sspage1.ss
- ajax call to sspage2.ss
The above SSP works as intended. However, I would like to add a call from sspage1.ss to a suitelet. The suitelet is available without login, set to run as admin, has permissions enabled for "all roles" and "all employees", and I can access the suitelet successfully through the browser.
When i make the following call from sspage1.ss, I get a "System" error with the title "UNEXPECTED_ERROR" and no details:
var suiteletUrl = nlapiResolveURL('SUITELET', 'customscript_myname', 'customdeploy_myname', true); var res = nlapiRequestURL(suiteletUrl, params, null);I have made sure that the suiteletUrl is correct and have tried the following as well:var res = nlapiRequestURL(suiteletUrl + '&myparam=123');
Please help.