Modules

filter

 

Objects/Functions

module (N/https)

SuiteScript 2.0

ServerResponse.renderPdf(options)

{ServerResponse}.renderPdf({xmlString: {string*}})

N/https Module
ServerResponse.renderPdf()
Method Description: Generates and renders a PDF directly to the response.
Returns: void
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Governance: 10 units
Module: N/https Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=ServerResponse.renderPdf(options)

Example:

// Code Example 1
// Add additional code
//...
serverResponse.renderPDF({
xmlString:'\n\n\n\nHello World!\n\n'
});
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4567652460.html