NotificationsSettings

Represents an organization’s mobile settings.

In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for details.

Parent Type 

This type extends Metadata and inherits its fields.

File Suffix and Directory Location 

NotificationsSettings values are stored in a single file named Notifications.settings in the settings directory. The .settings files are different from other named components because there’s only one settings file for each settings component.

Version 

Mobile settings are available in API version 46.0 and later.

Fields 

enableActvityReminderBrowserNotifs 

  • Type: boolean
  • Required: No
  • Description: Reserved for internal use.

enableMobileAppPushNotifications 

  • Type: boolean
  • Required: No
  • Description: Indicates whether mobile push notifications are enabled.

enableNotifications 

  • Type: boolean
  • Required: No
  • Description: Indicates whether notifications are enabled.

Declarative Metadata Sample Definition 

This is a sample notifications.settings metadata file.

1<NotificationsSettings xmlns="http://soap.sforce.com/2006/04/metadata">
2    <enableMobileAppPushNotifications>true</enableMobileAppPushNotifications>
3    <enableNotifications>true</enableNotifications>
4</NotificationsSettings>

Wildcard Support in the Manifest File 

The wildcard character * (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see Settings. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.