Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
How to use addressbook fields in Scriptable Templates?
Hello everyone,
I want to update some CRMSDK templates to Scriptable ones, but I don't know how to use addressbook fields in tte Scriptable format. The email editor doesn't list any address fields in the dropdowns. At this point I'm trying to replicate the functionality of the <NLCITY> CRMSDK field tag.
What I tried:
${customer.addressbook.city} // Empty string
${customer.addressbook[1].city} // Returns error saying customer.addressbook[1] is undefined. Same result with index 0.
${customer.addressbook.addressbookaddress.city} // Empty string, using an index returns undefined again.
Are addressbook fields not yet supported, since Scriptable Templates are still in beta, or is there a way to get to these fields?