GetPortfolioItem

GetPortfolioItem This function returns Portfolio item content for the specified Customer/External Key. Argument GetPortfolioItem(1) Ordinal Type Required Description 1 String True Customer/External Key of the Portfolio item to return NOTE: Keys for the Portfolio item...

Content Functions

Overview The Content AMPscript functions provide a means to interact, reference and output content in a Marketing Cloud account. These elements include Content Areas, Content Builder content blocks, objects in your Portfolio, files from internal or external file...

Image

Image This function returns an HTML img tag with the specified Portfolio image. It also sets the title, alt, border and thid attributes on the img tag. The title and alt values are set to the name of the image as defined in the Portfolio. The border is set to 0 in all...

AttachFile

AttachFile This function attaches the specified file to the outbound message or displays a link to the file when included in a landing page. This function returns no output. Arguments AttachFile(1,2,3,4,5,6,7,8) Ordinal Type Required Description 1 String True Type of...

TransformXML

TransformXML This function applies an XSL transformation to the specified XML data. Arguments TransformXML(1,2) Ordinal Type Required Description 1 String True XML content to transform 2 String True XSL document used to transform the XML content NOTE: This function...

BarcodeURL

BarcodeURL This function generates a barcode image URL using the specified arguments. Arguments BarcodeURL(1,2,3,4,5,6,7,8,9) Ordinal Type Required Description 1 String True Value to convert into a barcode 2 String True Type of barcode to generate. Valid barcode...