Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
MarketingIntegration Class
Namespace
MarketingIntegration Methods
getForm(siteId, formId)
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)
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
submitForm(siteId, formId, formSubmissionInput)
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.