Newer Version Available
MarketingAppExtension
Parent Type
File Suffix and Directory Location
MarketingAppExtension components have the suffix .marketingappextension and are stored in the marketingappextensions folder.
Version
MarketingAppExtension components are available in API version 54.0 and later.
Special Access Rules
The first Salesforce or designated marketing admin to access Marketing App Extensions in an org must have the Manage Public List Views user permission. Subsequent users don’t need the permission to work with the feature.
Fields
| Field Name | Description |
|---|---|
| description |
|
| isActive |
|
| isProtected |
|
| marketingAppExtActions |
|
| marketingAppExtActivities |
|
| masterLabel |
|
MarketingAppExtActivity
Represents an Activity Type, which is a prospect activity that occurs in a third-party app and can be used in Account Engagement automations.
| Field Name | Description |
|---|---|
| description |
|
| endpointUrl |
|
| isActive |
|
| isProtected |
|
| marketingAppExtension |
|
| masterLabel |
|
Declarative Metadata Sample Definition
This example retrieves all Activity Types associated with the MarketingAppExtension component.
1<?xml version="1.0" encoding="UTF-8"?>
2<MarketingAppExtension xmlns="http://soap.sforce.com/2006/04/metadata">
3 <description>VidLand extension for US region</description>
4 <isActive>true</isActive>
5 <marketingAppExtActivities>
6 <fullName>user_attended</fullName>
7 <description>User attended activity capture for VidLand</description>
8 <isActive>true</isActive>
9 <marketingAppExtension>VidLand_US</marketingAppExtension>
10 <masterLabel>user attended</masterLabel>
11 </marketingAppExtActivities>
12 <marketingAppExtActivities>
13 <fullName>user_registered</fullName>
14 <description>User registered activity capture for VidLand</description>
15 <isActive>true</isActive>
16 <marketingAppExtension>VidLand_US</marketingAppExtension>
17 <masterLabel>user registered</masterLabel>
18 </marketingAppExtActivities>
19 <masterLabel>VidLand_US</masterLabel>
20</MarketingAppExtension>This example package.xml references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3~ Copyright 2021 Salesforce, Inc.
4~ All Rights Reserved
5~ Company Confidential
6-->
7<Package xmlns="http://soap.sforce.com/2006/04/metadata">
8<types>
9<members>VidLand_US</members>
10<name>MarketingAppExtension</name>
11</types>
12</Package>This example retrieves a specific Activity Type from the associated MarketingAppExtension component.
1<?xml version="1.0" encoding="UTF-8"?>
2<MarketingAppExtension xmlns="http://soap.sforce.com/2006/04/metadata">
3 <description>VidLand extension for US region</description>
4 <isActive>true</isActive>
5 <marketingAppExtActivities>
6 <fullName>user_attended</fullName>
7 <description>User attended activity capture for VidLand</description>
8 <isActive>true</isActive>
9 <marketingAppExtension>VidLand_US</marketingAppExtension>
10 <masterLabel>user attended</masterLabel>
11 </marketingAppExtActivities>
12 <masterLabel>VidLand_US</masterLabel>
13</MarketingAppExtension>This example package.xml references the previous definition.
1<<?xml version="1.0" encoding="UTF-8"?>
2<!--
3~ Copyright 2021 salesforce.com, inc.
4~ All Rights Reserved
5~ Company Confidential
6-->
7<Package xmlns="http://soap.sforce.com/2006/04/metadata">
8<types>
9<members>VidLand_US.user_attended</members>
10<name>MarketingAppExtActivity</name>
11</types>
12<types>
13<members>VidLand_US</members>
14<name>MarketingAppExtension</name>
15</types>
16</Package>MarketingAppExtAction
Represents an Action Type, which is an action that executes in a third-party app and can be used in Engagement Studio programs.
| Field Name | Description |
|---|---|
| actionName |
|
| actionParams |
|
| actionSchema |
|
| actionSelector |
|
| apiName |
|
| Description |
|
| isActive |
|
| isProtected |
|
| marketingAppExtension |
|
Declarative Metadata Sample Definition
This example retrieves a specific action associated the MarketingAppExtension component.
1<?xml version="1.0" encoding="UTF-8"?>
2<MarketingAppExtension xmlns="http://soap.sforce.com/2006/04/metadata">
3 <fullName>VidLand_US</fullName>
4 <description>VidLand extension for US region</description>
5 <isActive>true</isActive>
6 <marketingAppExtActions>
7 <marketingAppExtension>VidLand_US</marketingAppExtension>
8 <apiName>register_user</apiName>
9 <isActive>true</isActive>
10 <description>Register User for VidLand</description>>
11 <actionSelector>VidLand_Register_User</actionSelector>
12 <actionSchema>
13 <![CDATA[
14 {
15 "properties": {
16 "UserId": {
17 "type": "string",
18 "title": ""
19 },
20 "WebinarId": {
21 "type": "string",
22 "value": "webinarIdXYZ"
23 }
24 },
25 "view": {
26 "components": [{
27 "definition": "lightning/control",
28 "scope": "#/properties/UserId"
29 }]
30 },
31 "required": [
32 "UserId",
33 "WebinarId",
34 "From",
35 "Body"
36 ]
37 }
38 ]]>
39 </actionSchema>
40 <actionParams>
41 <![CDATA[
42 {
43 "isStandard": false,
44 "type": "apex"
45 }
46 ]]>
47 </actionParams>
48 <actionName>Register User</actionName>
49 </marketingAppExtActions>
50 <masterLabel>VidLand US</masterLabel>
51</MarketingAppExtension>This example package.xml references the previous definition.
1<<?xml version="1.0" encoding="UTF-8"?>
2<!--
3~ Copyright 2021 salesforce.com, inc.
4~ All Rights Reserved
5~ Company Confidential
6-->
7<Package xmlns="http://soap.sforce.com/2006/04/metadata">
8<types>
9<members>VidLand_US</members>
10<name>MarketingAppExtension</name>
11</types>
12</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.