JDBC Driver for Salesforce Marketing Cloud

Build 22.0.8462

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.

The allowed values are NONE, BASE64.

The default value is 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) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462