{"id":419,"date":"2020-01-01T11:54:25","date_gmt":"2020-01-01T11:54:25","guid":{"rendered":"http:\/\/thegreenbrain.com.au\/blog\/?p=419"},"modified":"2020-04-17T10:30:43","modified_gmt":"2020-04-17T10:30:43","slug":"adobe-campaign-standard-data-nl-tags","status":"publish","type":"post","link":"https:\/\/thegreenbrain.com.au\/blog\/adobe-campaign-standard-data-nl-tags\/","title":{"rendered":"Adobe Campaign Standard Form data-nl-* tags"},"content":{"rendered":"\n<p>In the ACS default form template e.g. Acquisition form template, you will notice some tags which starts with &#8220;data-nl-&#8220;.<\/p>\n\n\n\n<p>Here are the list of the tags and the function for each tag.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>data-nl-*<\/strong> are data attributes used by out of the box ACS js library to map personalization data from your schema to form.<\/li><li><strong>data-nl-ismandatory<\/strong>: The value is equal to &#8220;true&#8221; when the field is required in your schema or form<\/li><li><strong>data-nl-label:<\/strong> Represents the value of your schema fields label or form<\/li><li><strong>data-nl-xpath:<\/strong> Represents the value of your schema fields name<\/li><li><strong>data-nl-type:<\/strong> Represents the data type of your schema fields<\/li><li>these values are directly related to your target schema if your form and all non-computed fields will be available to attach to your form.<\/li><\/ul>\n\n\n\n<p>In the case of recipient:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Type<\/th><th>Label<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>long<\/td><td>Number of errors<\/td><td>Number of consecutive errors when sending to this address.<\/td><\/tr><tr><td>long<\/td><td>Quality rating<\/td><td>Address quality rating.<\/td><\/tr><tr><td>boolean<\/td><td>No longer contact (by any channel)<\/td><td>No longer contact (by any channel)<\/td><\/tr><tr><td>boolean<\/td><td>No longer contact by email<\/td><td>No longer contact by email<\/td><\/tr><tr><td>boolean<\/td><td>No longer contact by fax<\/td><td>No longer contact by fax<\/td><\/tr><tr><td>boolean<\/td><td>No longer contact by SMS\/MMS<\/td><td>No longer contact by SMS\/MMS<\/td><\/tr><tr><td>boolean<\/td><td>No longer contact by phone<\/td><td>No longer contact by phone<\/td><\/tr><tr><td>boolean<\/td><td>No longer contact by direct mail<\/td><td>No longer contact by direct mail<\/td><\/tr><tr><td>byte<\/td><td>Email format<\/td><td>Email format type<\/td><\/tr><tr><td>long<\/td><td>Foreign key of the link &#8216;Folder&#8217; (field &#8216;id&#8217;)<\/td><td>Foreign key of the link &#8216;Folder&#8217; (field &#8216;id&#8217;)<\/td><\/tr><tr><td>byte<\/td><td>Gender<\/td><td>Recipient sex<\/td><\/tr><tr><td>long<\/td><td>Primary key<\/td><td>Internal primary key<\/td><\/tr><tr><td>byte<\/td><td>Status<\/td><td>Status<\/td><\/tr><tr><td>memo<\/td><td>XML memo<\/td><td>Memo field containing data stored as XML<\/td><\/tr><tr><td>string 30<\/td><td>Account #<\/td><td>Account #<\/td><\/tr><tr><td>string 80<\/td><td>Address 1 (apartment)<\/td><td>Address 1: recipient identification detail: door or letterbox number, floor, staircase, company name&#8230;<\/td><\/tr><tr><td>string 80<\/td><td>Address 2<\/td><td>Address 2: geographical address detail: entrance, wing, building&#8230;<\/td><\/tr><tr><td>string 80<\/td><td>Address 3 (Number and street)<\/td><td>Address 3: street number and name<\/td><\/tr><tr><td>string 80<\/td><td>Address 4 (county)<\/td><td>Address 4: county or special delivery instructions, postbox&#8230;<\/td><\/tr><tr><td>string 75<\/td><td>City<\/td><td>City<\/td><\/tr><tr><td>string 80<\/td><td>Company<\/td><td>Company name of recipient<\/td><\/tr><tr><td>string 3<\/td><td>Country code<\/td><td>Country code<\/td><\/tr><tr><td>string 128<\/td><td>Email<\/td><td>Email address<\/td><\/tr><tr><td>string 32<\/td><td>Fax<\/td><td>Fax number<\/td><\/tr><tr><td>string 30<\/td><td>First name<\/td><td>Recipient first name<\/td><\/tr><tr><td>string 32<\/td><td>Language<\/td><td>Preferred language of the recipient<\/td><\/tr><tr><td>string 50<\/td><td>Last name<\/td><td>Recipient last name<\/td><\/tr><tr><td>string 30<\/td><td>Middle name<\/td><td>Middle name of recipient<\/td><\/tr><tr><td>string 32<\/td><td>Mobile<\/td><td>Mobile phone number<\/td><\/tr><tr><td>string 80<\/td><td>Origin<\/td><td>Origin of address (broker&#8230;)<\/td><\/tr><tr><td>string 32<\/td><td>Phone<\/td><td>Phone number<\/td><\/tr><tr><td>string 20<\/td><td>Salutation<\/td><td>Recipient title<\/td><\/tr><tr><td>string 50<\/td><td>State\/Province code<\/td><td>State\/Province code<\/td><\/tr><tr><td>string 180<\/td><td>Text 1<\/td><td>User defined text field<\/td><\/tr><tr><td>string 180<\/td><td>Text 2<\/td><td>User defined text field<\/td><\/tr><tr><td>string 180<\/td><td>Text 3<\/td><td>User defined text field<\/td><\/tr><tr><td>string 180<\/td><td>Text 4<\/td><td>User defined text field<\/td><\/tr><tr><td>string 180<\/td><td>Text 5<\/td><td>User defined text field<\/td><\/tr><tr><td>string 20<\/td><td>Zip\/Postcode<\/td><td>Zip\/Postcode<\/td><\/tr><tr><td>datetime<\/td><td>Last qualification<\/td><td>Last-qualification date of the address.<\/td><\/tr><tr><td>date<\/td><td>Birth date<\/td><td>Birth date<\/td><\/tr><tr><td>datetime<\/td><td>Creation date<\/td><td>Creation date<\/td><\/tr><tr><td>datetime<\/td><td>Modification date<\/td><td>Modification date<\/td><\/tr><tr><td>datetime<\/td><td>Optout Timestamp<\/td><td>Optout Timestamp<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The possible values for  data-nl-type=&#8221;action&#8221;  include:<\/p>\n\n\n\n<p><strong>data-nl-type=&#8221;action&#8221; data-nl-action=&#8221;none&#8221;<br>data-nl-type=&#8221;action&#8221; data-nl-action=&#8221;refresh&#8221;<br>data-nl-type=&#8221;action&#8221; data-nl-action=&#8221;next&#8221;<br>data-nl-type=&#8221;action&#8221; data-nl-action=&#8221;previous&#8221;<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the ACS default form template e.g. Acquisition form template, you will notice some tags which starts with &#8220;data-nl-&#8220;. Here are the list of the tags and the function for each tag. data-nl-* are data attributes used by out of the box ACS js library to map personalization data from your schema to form. data-nl-ismandatory:&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,2],"tags":[],"class_list":["post-419","post","type-post","status-publish","format-standard","hentry","category-adobe-campaign-standard","category-marketing-automation"],"_links":{"self":[{"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/posts\/419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/comments?post=419"}],"version-history":[{"count":6,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/posts\/419\/revisions"}],"predecessor-version":[{"id":438,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/posts\/419\/revisions\/438"}],"wp:attachment":[{"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/media?parent=419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/categories?post=419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/tags?post=419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}