Newer Version Available

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

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.

Declarative Metadata 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

Field Field Type Description
enableActivityReminderBrowserNotifs boolean Reserved for internal use.
enableMobileAppPushNotifications boolean Indicates whether mobile push notifications are enabled.
enableNotifications boolean 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.