Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Identify Line Break in Text Area Field
I'm trying to develop an xml string value to produce a pdf file using nlapiXMLToPDF.
I have a custom text area field, within the field is a string value that is typed with a carriage return example:
"John Smith
Jane Smith"
When I get the field's value, it returns "John Smith Jane Smith". I want to preserve the carriage return.
When I inspected the field's value in chrome web browser, I see "John Smith <br> Jane Smith". Using nlapiLogExecution after using nlapiGetFieldValue doesn't show the <br>.
I tried using a character to denote the line break such as : and using a str.replace(/:/g, " <br />") for some reason why NS doesn't parse the replace i.e. in my nlapiLogExecution...the debug log still shows :