Flexible Content Areas with XML Interfaces

Here is a good way to display a grid of external content in an email without repeating a significant amount of AMPscript. It utilizes an XML string and uses XPATH to retrieve content using the BuildRowSetFromXML() function.

Slide deck from my ExactTarget Connections Conference 2014 presentation

Helpful Links/Resources

Double Wide v2 – Responsive Email Pattern
XPATH reference
All AMPscript Functions
LookupOrderedRows() Function
BuildRowsetFromXML() Function
TreatAsContent() Function
ContentAreaByName() Function

Product Data Extension

SKUProductImageURLAvgCustomerRatingApprovedForEmail
1234http://placehold.it/150x150&text=12344true
2468http://placehold.it/150x150&text=24683true
1357http://placehold.it/150x150&text=13575true

Email Init Section

Email Body

Content Area Init Section

Content Area Body

Questions? Comments? Feel free to leave a comment below.

(Visited 1,728 times, 1 visits today)
Subscribe
Notify of
guest
5 Comments
Oldest
Newest
Inline Feedbacks
View all comments