NotificationTypeConfig
Represents the metadata associated with org-level notification settings for standard and custom notification types.
This type extends Metadata and inherits its fields.
NotificationTypeConfig components have the suffix .config and are stored in the notificationTypeConfig folder.
Introduced in API version 48.0.
- Type: NotificationTypeSettings[]
- Required: No
- Description: An array of delivery settings for an org’s notification types.
Represents the settings for the connected apps supported for a notification type.
- Type: ConnectedAppType (enumeration of type string)
- Required: No
-
Type: string
-
Required: Yes
-
Description: Required. Specifies the API name of a connected app. If a connected app is installed with a managed package, it includes the namespace prefix.
Retrieve NotificationTypeConfig to see the API names of the connected apps supported for a notification type.
- Type: boolean
- Required: No
- Description: Indicates whether a connected app is enabled (
true) or not (false) for the notification type.
If an Enhanced Connected App (ECA) and a Connected App (CA) share the same name, or if the CA has been migrated to an ECA, only the ECA is returned when you retrieve NotificationTypeConfig.
- The CA settings aren’t applied when you deploy the retrieved settings to a new org and the CA and ECA share the same name.
- In existing orgs, app settings for CAs that share a name with an ECA or have been migrated to an ECA can’t be changed via the Metadata API. To change these app settings, use the UI.
Represents the settings for the delivery channels for a notification type.
- Type: boolean
- Required: No
- Description: Indicates whether desktop notifications are enabled (
true) or not (false).
- Type: boolean
- Required: No
- Description: Indicates whether mobile notifications are enabled (
true) or not (false).
- Type: boolean
- Required: No
- Description: Indicates whether Slack notifications are enabled (
true) or not (false).
Represents the delivery settings for a standard or custom notification type.
- Type: AppSettings[]
- Required: No
- Description: An array of settings for the connected apps supported for a notification type.
- Type: NotificationChannels
- Required: No
- Description: Defines the delivery channels for a notification type.
-
Type: string
-
Required: Yes
-
Description: Required. Specifies a notification type’s API name.
For standard notification types, this is the predefined API name of the standard notification type. For custom notification types, this is the API name of the custom notification type. If a custom notification type was installed with a managed package, it includes the namespace prefix.
Retrieve NotificationTypeConfig to see the API names of the notification types available in your org.
The following is an example of a NotificationTypeConfig component.
The following is an example of a package manifest used to retrieve all the available notification settings for an organization, by using a wildcard:
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.