EMDocuments Class |
Namespace:
DMLibrary
Assembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
The EMDocuments type exposes the following members.
Name | Description | |
---|---|---|
![]() | EMDocuments | Initializes a new instance of the EMDocuments class |
Name | Description | |
---|---|---|
![]() ![]() | AddCampaignMetadataToCampaignSave |
Adds a task to a transactional Campaign Save that will update the Metadata of the Campaign.
|
![]() ![]() | AddCreativeContentToCampaignSave |
Add a task to a transactional Campaign Save to update or add HTML or Text Content to a Creative.
|
![]() ![]() | AddCreativeMetadataToCampaignSave |
Add a task to a transactional Campaign Save that will update the metadata of a Creative.
|
![]() ![]() | AddDeletedCreativeToCampaignSave |
Adds a task to a transactional Campaign Save that will remove a Creative from a Campaign.
|
![]() ![]() | AddNewCreativeToCampaignSave |
Adds a task to a transactional Campaign Save that will add a new Creative to the Campaign.
|
![]() ![]() | AssertCreativeModifyAccess |
Asserts if user has modification rights for the campaign
|
![]() ![]() | BeginCampaignSave |
Initiate a new transactional Campaign Save.
|
![]() ![]() | CanDeleteCreative |
Determines if the creative specified can be deleted (based on if it is referenced by other creative in the campaign or not)
|
![]() ![]() | CanSaveCampaign |
Returns a flag indicating if a campaign can be saved
|
![]() ![]() | CommitCampaignSave |
Commit all changes to a transactional Campaign Save.
|
![]() ![]() | CopyCampaign |
Make a copy of an existing Email Campaign.
|
![]() ![]() | CreateCreativeInCampaign(DMToken, String, String, EMDocumentType, Int32, Boolean, Boolean, EMContent, EMContent, Boolean) |
Creates a new Creative in a Campaign.
|
![]() ![]() | CreateCreativeInCampaign(DMToken, String, String, EMDocumentType, Int32, Boolean, Boolean, EMContent, EMContent, Boolean, SqlConnection, SqlTransaction, String, String, String) |
Create a new Creative in a Campaign, supplying the Connection and Transaction context.
|
![]() ![]() | CreateEmailCampaign |
Creates an EM Email Campaign Document and its underlying DM Creative.
|
![]() ![]() | CreateFolder |
Create a new folder.
|
![]() ![]() | DeleteEmailCampaign |
Delete an Email Campaign, marking it as disabled.
|
![]() ![]() | DeleteFolder |
Delete an existing folder
|
![]() ![]() | GetCampaignIDFromDMCreativeID |
Get the Campaign ID associated with a DM Creative ID.
Method does not require the Campaign to be enabled, but will throw an exception if the Campaign does not exist at all.
|
![]() ![]() | GetCampaignMetadata |
Reads uncommitted basic metadata for a campaign, including only the underlying DMCreativeId, and the VarOpen and VarClose strings.
|
![]() ![]() | GetCreativeIDFromTemplateIDs |
Gets the CreativeID that exactly matches to the provided Html and Text Template Ids.
If no Creative within the given Campaign exactly matches these IDs, CreativeID = 0 will be returned
and TemplateMappingError will be populated with a friendly error message.
If a Creative is found, TemplateMappingError will be an empty string.
|
![]() ![]() | GetDeliveryContextNameFromDMCreativeID |
Retrieves The Delivery Context associated to the DM Creative's Category ID.
If no Delivery Context is associated then it will try to return the client's
default delivery context
|
![]() ![]() | GetDMCreativeIDForCampaign(DMToken, Int32) |
Fetches the DM Creative Id for a given campaign if one can be found.
|
![]() ![]() | GetDMCreativeIDForCampaign(SqlConnection, SqlTransaction, Int32) |
Fetches the DM Creative Id for a given campaign if one can be found.
|
![]() ![]() | GetDocument |
Get an EM Document
|
![]() ![]() | GetDocumentName |
Gets document name for specified id
|
![]() ![]() | GetDocumentsByName |
Get all Documents that have names containing the search string.
|
![]() ![]() | GetFolderContents |
Retrieves a list of EM Documents in a given folder.
|
![]() ![]() | GetFolderPath |
Gets the flattened folder path for a Folder ID (DM Creative Category)
|
![]() ![]() | GetFolders |
Retrieves a list of EM content folders.
|
![]() ![]() | GetHTMLTemplateID |
Get The HTML Template ID for the given document
|
![]() ![]() | GetListCategoryPath |
Gets the flattened list category path
|
![]() ![]() | GetRecentDocuments |
Retrieves a list of EM Documents that were recently modified by a given user.
|
![]() ![]() | GetTemplateContent |
Returns the DM template content for a given EM Creative.
|
![]() ![]() | GetTemplateContentForUseInDifferentCampaign |
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.
|
![]() ![]() | GetTemplateContentWithAlternateEncoding |
Gets corrected unicode content with new encoding
|
![]() ![]() | GetTextTemplateID |
Get The Text Creative ID for the given document
|
![]() ![]() | GetUniqueNameForNewDocument |
Generic method to Retrieve a unique name for the EM Document
|
![]() ![]() | LogCampaignActivityByDMCreativeId |
Logs activity on the EM Campaign associated with the provided DM Creative Id.
|
![]() ![]() | LogDocumentActivity(DMToken, Int32, EMDocumentActivityType) |
Logs activity on the specified EM document.
|
![]() ![]() | LogDocumentActivity(DMToken, Int32, EMDocumentActivityType, SqlConnection, SqlTransaction) |
Logs activity on the specified EM document.
|
![]() ![]() | UpdateCreative |
Update an existing Creative.
|
![]() ![]() | UpdateEmailCampaign |
Update an existing Email Campaign Document.
|
![]() ![]() | UpdateFolderName |
Update the name of an existing folder.
|
![]() ![]() | ValidateCampaignContainsCreative |
Validate that a campaign contains a creative
|