Newer Version Available

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

PathAssistantSettings

Represents the Path preference setting. This type extends the Metadata metadata type and inherits its fullName field.

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

File Suffix and Directory Location

PathAssistantSettings components have the suffix .settings and are stored in the settings folder.

Version

PathAssistantSettings components are available in API version 34.0 and later.

Fields

Field Name Field Type Description
canOverrideAutoPathCollapseWithUserPref boolean Keeps a user's path expanded to show guidance and key fields on all their records. A user's path stays expanded until the user collapses it. To use this preference, Path must be enabled.

Default value is false for all editions. When set to false, the user’s path is collapsed when the page loads.

Available in API version 47.0 and later.

pathAssistantEnabled boolean Determines whether the preference is enabled for Path. Default value is true for Enterprise Edition and false for other editions. Available in API version 35.0 and later.
pathAssistantForOpportunityEnabled boolean Determines whether the preference is enabled for Path in Opportunity or not.

Available in API version 34.0 and earlier.

Declarative Metadata Sample Definition

The following is an example of a PathAssistantSettings component.

1<?xml version="1.0" encoding="UTF-8"?>
2<PathAssistantSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3    <pathAssistantEnabled>true</pathAssistantEnabled>
4    <canOverrideAutoPathCollapseWithUserPref>true</canOverrideAutoPathCollapseWithUserPref>
5</PathAssistantSettings>

The following is an example package.xml that references the previous definition.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>PathAssistant</members>
5        <name>Settings</name>
6    </types>
7    <version>API</version>
8</Package

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.