Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=TemplateRenderer.templateContent for more information.
N/render Module
TemplateRenderer.templateContent
Property Description:
Content of template
Type:
string
Supported Script Types:
Server-side scripts
For more information, see SuiteScript 2.0 Script Types.
Module:
N/render Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=TemplateRenderer.templateContent
Example:
// Code Example 1
//Add additional code
//...
renderer.templateContent = xmlTemplateFile.getContents();
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_453133789062.html