Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
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?