Developer forum

Forum » Templates » Templatetags for custom fields in Newsletter v3

Templatetags for custom fields in Newsletter v3


Reply
I am trying to create a company-field in Newsletter v3, so I can output it in my newsletter emails.

But I can't seem to find out how to get the template tag. I have tried to use DwTemplateTags, but it only outputs subscriptionlinks.

Is it possible to use custom fields in Newsletter emails?

Replies

 
Angel
Reply
 You can do this with the tag

So fx. if your custom field is named Company, you will have to use the tag
 
 
Reply
I love this forum :)

Any chance you can write the tag without < and >?
 
Reply
Sorry about that, heres the tag again:
CustomField_Tagname
So fx CustomField_Company
 
 
Reply
Doesn't seem to work :(

Tried with (!--@CustomField_Company--), (!--@CustomField.Company--) and (!--@CustomFieldCompany--)

( and ) is off course < and > :)
 
Reply
I've tested that it's working.

The tag is described in the documentation here:
http://templates.dynamicweb-cms.com/TemplateTags/Dynamicweb-template-tags/Module-tags/Newsletter-v3/CustomField_[Fieldname].aspx

Could you please make a case, the support will look into the issue then.

 
Reply
Got it working now. Thanks :)

 

You must be logged in to post in the forum