Hello, I am working on a script that loads a searc...
# suitescript
m
Hello, I am working on a script that loads a search, gets the results, and uses a pdf template to render as a pdf. and am attempting to use this renderer.addSearchResults({ templateName: 'exampleName', searchResult: results }); But I cant find any clear documentation on what the templateName is supposed to be. What is it referencing?
b
the search results are place in a sequence which is named the value in templateName
whatever name you choose is the name of the variable you access the search results in the template
m
Oh ok, that makes sense, thank you