dotConnect for Mailchimp Documentation
Devart.Data.MailChimp Namespace / MailChimpConnectionStringBuilder Class / UseMergeTagAsFieldName Property

In This Topic
    UseMergeTagAsFieldName Property
    In This Topic
    Determines whether to use merge tag values as column names for MailChimp merge tags instead of merge tag labels.
    Syntax
    'Declaration
     
    Public Property UseMergeTagAsFieldName As Boolean
    public bool UseMergeTagAsFieldName {get; set;}

    Property Value

    true, if merge tag values are used as column names for MailChimp merge tags instead of merge tag labels. Default value is false.
    Remarks

    By default, dotConnect for MailChimp uses merge tag labels as column names for MailChimp merge tags. You may change this behavior and use merge tag values instead. These are the values in the Put this tag in your content: column on the List fields and *|MERGE|* tags tab in MailChimp list settings.

    This can be useful if you have the same merge tag labels but different merge tag values in different MailChimp lists. In this case, such merge tags can be accessed via dotConnect for MailChimp only if this property is set to true. Note that they still cannot be accessed if any other parameters, like types or default values, are diferent for tags with the same names.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also