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.
EnhancedNotesSettings
File Suffix and Directory Location
EnhancedNotesSettings values are stored in the EnhancedNotes.settings file in the settings directory.
In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for details.
Version
EnhancedNotesSettings is available in API version 47.0 and later.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| enableEnhancedNotes | boolean | Indicates whether enhanced notes are enabled (true) or
not (false). With enhanced notes, users can
relate a note to multiple records, access version history, and enjoy enhanced format
options. Users must have the Use New Notes permission to use enhanced
notes. Default value is true. |
| enableTasksOnEnhancedNotes | boolean | Indicates whether users can create tasks from notes (true) or not (false). In the
Salesforce app, users can create a task from a note by swiping a line on the note.
Alternatively, they can tap in the toolbar to add or update the status of an action
item. Users must have the Use New Notes permission to use enhanced notes. Default value is true. |
Declarative Metadata Sample Definition
The following is an example of the EnhancedNotesSettings.settings file:
1<?xml version="1.0" encoding="UTF-8"?>
2<EnhancedNotesSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3 <enableEnhancedNotes>true</enableEnhancedNotes>
4 <enableTasksOnEnhancedNotes>true</enableTasksOnEnhancedNotes>
5</EnhancedNotesSettings>Example Package Manifest
The following is an example package manifest used to deploy or retrieve the EnhancedNotesSettings metadata:
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>EnhancedNotes</members>
5 <name>Settings</name>
6 </types>
7 <version>47.0</version>
8</Package>