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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Output Any Employee's MESSAGE_SIGNATURE in Body of nlapiSendEmail message
I'm aware of the following, which gets the current user's own email signature:
var userpreference = nlapiLoadConfiguration('userpreferences'); var signature = userpreference.getFieldValue('MESSAGE_SIGNATURE') || ''; ...but, how can you get an email signature from any employee (such as a Customer's Sales Rep email signature) for inclusion in an email sent with nlapiSendEmail() ?
The only way I can do this is by using nlapiCreateEmailMerger(), but you cannot insert variables from the script into the template.
Any help appreciated!
0