Documentation Center

GetTaggedCP()

Use this method to transform the content of a normal Component Presentation into a Component Presentation that can be used in personalization.

Syntax

Function GetTaggedCP(ByVal componentPresentation As Object) As String

Parameters

ParametersDescription
componentPresentationThe content of a Component Presentation.

Description

If you want to exclude or include certain Components in an e-mail message, based on the Contact’s Target Groups, you must use this function for such personalization to work.

Example Template code

'This code replaces the original WriteOut ComponentPresentation.Content'
WriteOut OutboundEmail.GetTaggedCP(ComponentPresentation)