Modules
Objects/Functions
SuiteScript 2.0
{ServerResponse}.writeLine({output: {string*}})
N/http Module
ServerResponse.writeLine()
Method Description:
Writes line information (text, xml, html) to the response.
Returns:
void
Supported Script Types:
Server scripts
For more information, see SuiteScript 2.0 Script Types.
Governance:
None
Module:
N/http Module
Parent Object:
http.ServerResponse
Sibling Object Members:
ServerResponse Object Members
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=ServerResponse.writeLine(options)
Example:
// Code Example 1
// Add additional code
//...
serverResponse.writeLine({
output: 'this is a sample string'
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4316493873.html