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.
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