Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
nlapiCreateTemplateRenderer & Custom Fields
Hi All,
We have a for a while been using nlapiMergeRecord and the addition of a custom array to populate a email template with a link to the original record via the below code.
<span style="color:'#4E9072'"><span style="font-family:'Monaco'"><span style="font-size:'11px'">//Create Record Link</span></span></span> <span style="font-family:'Monaco'"><span style="font-size:'11px'"> <span style="color:'#931a68'">var</span> env = nlapiGetContext().getEnvironment();</span></span> <span style="color:'#3933FF'"><span style="font-family:'Monaco'"><span style="font-size:'11px'">[COLOR=#000000] </span><span style="color:'#931a68'">var</span><span style="color:'#000000'"> nsDomain = </span>' 0