EnhancedNotesSettings

Represents an org’s enhanced note settings, such as enabling enhanced notes and enabling tasks in enhanced notes.

Parent Type 

This type extends Metadata and inherits its fields.

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 

Introduced in API version 47.0.

Fields 

enableEnhancedNotes 

  • Type: boolean

  • Required: No

  • Description: 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 

  • Type: boolean

  • Required: No

  • Description: 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>