ADO.NET Provider for Salesforce Marketing Cloud

Build 23.0.8839

GetChannelViewHtml

Returns the requested channel view's compiled HTML for the asset.

Input

Name Type Required Accepts Output Streams Description
AssetId Integer True False The ID of the asset.
ViewName String True False The name of the asset view to retrieve.
Thumbnail Boolean False False Set to true to return a base64-encoded thumbnail image.
IncludeHeaderFooter Boolean False False If asset has HTML or text views, set to true to include the message header and footer.
IncludeDesignContent Boolean False False Set to true to include design content in the thumbnail image.
DownloadPath String False False The Location of the file in which to save the compiled HTML.
Encoding String False False The FileData input encoding type.

使用できる値は次のとおりです。NONE, BASE64

デフォルト値はBASE64です。

FileStream String False True An instance of an output stream where file data is written to. Only used if DownloadPath is not provided.

Result Set Columns

Name Type Description
Success Boolean Returns True if the download succeeded.
Compiled String A representation of the view.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839