EMDocumentsGetTemplateContentForUseInDifferentCampaign Method
|
Alterian Email Manager 6.2.3 SDK Help File
Returns the DM Template content for a given EM Creative, but it resolves any template reference within the given DM Template according to the campaign
declared by the DestinationEMCampaignId parameter. This is used when transferring the creative content from one Campaign to another Campaign. If the destination
Campaign does not have a Creative containing a DM Template with the relevant name, an error will occur. This avoids that happening.
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static string GetTemplateContentForUseInDifferentCampaign(
DMToken token,
int CreativeId,
int destinationEMCampaignId,
EMContentType contentType
)
Public Shared Function GetTemplateContentForUseInDifferentCampaign (
token As DMToken,
CreativeId As Integer,
destinationEMCampaignId As Integer,
contentType As EMContentType
) As String
public:
static String^ GetTemplateContentForUseInDifferentCampaign(
DMToken^ token,
int CreativeId,
int destinationEMCampaignId,
EMContentType contentType
)
static member GetTemplateContentForUseInDifferentCampaign :
token : DMToken *
CreativeId : int *
destinationEMCampaignId : int *
contentType : EMContentType -> string
DMLibrary.EMDocuments.GetTemplateContentForUseInDifferentCampaign = function(token, CreativeId, destinationEMCampaignId, contentType);
Parameters
- token
- Type: DMToken
Authentication Token. - CreativeId
- Type: SystemInt32
The ID of the EM creative document. - destinationEMCampaignId
- Type: SystemInt32
The destination EM Campaign to which this creative content is being transferred. - contentType
- Type: DMLibraryEMContentType
The content type of the Creative to return.
Return Value
Type:
StringTemplate Content.
See Also