In that case, then you cannot use the `xmlStr` var...
# advancedpdf
s
In that case, then you cannot use the
xmlStr
variable. Any template code has to be inside your advanced PDF template. and yes, if you are defining a standard saved search template in NetSuite, you must use the variable name results for your search, then in your script, always set the templateName to
'results'