Newer Version Available

This content describes an older version of this product. View Latest

MarketingIntegration Class (Pilot)

Get, save, and submit a microsites marketing integration form for an Experience Cloud site.

Namespace

This feature is not generally available and is being piloted with certain Customers subject to additional terms and conditions. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.

Note

ConnectApi

MarketingIntegration Methods

The following are methods for MarketingIntegration. All methods are static.

getForm(siteId, formId)

Get a marketing integration form for an Experience Cloud site.

API Version

53.0

Requires Chatter

No

Signature

public static ConnectApi.Form getForm(String siteId, String formId)

Parameters

siteId
Type: String
ID for the Experience Cloud site.
formId
Type: String
ID of the form.

Return Value

Type: ConnectApi.Form

saveForm(siteId, formInput)

Save a marketing integration form for an Experience Cloud site.

API Version

53.0

Requires Chatter

No

Signature

public static ConnectApi.Form saveForm(String siteId, ConnectApi.FormInput formInput)

Parameters

siteId
Type: String
ID for the Experience Cloud site.
formInput
Type: ConnectApi.FormInput
A ConnectApi.FormInput object to save.

Return Value

Type: ConnectApi.Form

Usage

This method attempts to create a read-only data extension in Marketing Cloud. A Marketing Cloud admin can change the read-only setting. We recommend keeping the data extension as read-only to maintain schema consistency with the form.

submitForm(siteId, formId, formSubmissionInput)

Submit a marketing integration form for an Experience Cloud site.

API Version

53.0

Available to Guest Users

53.0

Requires Chatter

No

Signature

public static ConnectApi.FormSubmission submitForm(String siteId, String formId, ConnectApi.FormSubmissionInput formSubmissionInput)

Parameters

siteId
Type: String
ID for the Experience Cloud site.
formId
Type: String
ID of the form.
formSubmissionInput
Type: ConnectApi.FormSubmissionInput
A ConnectApi.FormSubmissionInput object to submit.

Return Value

Type: ConnectApi.FormSubmission