Discussions
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?