Does anyone have a snippet of a request to a Suite...
# suitescript
r
Does anyone have a snippet of a request to a SuiteLet with parameters in SuiteScript 1.0? I'm confused by the documentation.
Do you just add parameters do the url string?
nlapiResolveUrl()
doesn't accept parameters.
d
from memory it's in the
nlapiRequestURL()
call that you give params
yeah, you just add the params to the url SuiteScript 1.0 Sample Code to Generate a PDF File Using nlapiXMLtoPDF>
Copy code
var suiteletUrl = nlapiResolveURL(…);
suiteletUrl += '&' + paramKey + '=' + paramValue;
window.open(suiteletUrl);
👍🏻 1