GetTaggedCP()

Syntax

Function GetTaggedCP(ByVal componentPresentation As Object) As String

Parameters

ParametersDescription
componentPresentationThe content of a Component Presentation.

Description

This method transforms the content of a normal Component Presentation into a Component Presentation that can be used in personalization. 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)