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!
CRMSDK and Scripting Question
I have just finished a rather complex project that involves several workflows, scripts and groups. This would have been much cleaner if I could have found a way to 'inject' information into email templates. I ended up writing a lengthy script that was mostly just a bunch stringified HTML email templates. I kept it as DRY as I could, but it is still kind of ugly.
Is there a way that I have missed to utilize the templates from script and still be able to supply information from multiple record types? I didn't have time to experiment and the process is live, but I am now wondering if I merge in script does that process have access to any of the information in the script, with JavaScript scoping working the way it does. Could I, for example, put inline script tags with the variables I need? Or is there any other way to merge data form disparate records?