次の方法で共有


GenerateCampaignItemPreview Method

Generate the HTML preview for a campaign item given the template and property set to use for the preview.

Namespace:  Microsoft.CommerceServer.Marketing.WebService
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GenerateCampaignItemPreview ( _
    templateName As String, _
    propertyValues As DisplayPropertyValueData() _
) As String
'Usage
Dim instance As MarketingWebService
Dim templateName As String
Dim propertyValues As DisplayPropertyValueData()
Dim returnValue As String

returnValue = instance.GenerateCampaignItemPreview(templateName, _
    propertyValues)
[WebMethodAttribute]
public virtual string GenerateCampaignItemPreview(
    string templateName,
    DisplayPropertyValueData[] propertyValues
)
[WebMethodAttribute]
public:
virtual String^ GenerateCampaignItemPreview(
    String^ templateName, 
    array<DisplayPropertyValueData^>^ propertyValues
)
public function GenerateCampaignItemPreview(
    templateName : String, 
    propertyValues : DisplayPropertyValueData[]
) : String

Parameters

  • templateName
    Type: System..::.String
    The name of the template to use for previewing.
  • propertyValues
    Type: array<DisplayPropertyValueData>[]()[]
    Key value pairs representing the campaign item properties

Return Value

Type: System..::.String
The formatted HTML or XML string

Remarks

Generate the HTML preview for a campaign item given the template and property set to use for the preview. This method formats a template given a set of Campaign Item and Context properties, making it available for preview.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace