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.
ConnectedAppSettings
Represents settings for connected apps.
This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
ConnectedAppSettings values are
stored in a single file named ConnectedApp.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
ConnectedAppSettings components are available in API version 47.0 and later.
Fields
Declarative Metadata Sample Definition
The following is an example of a ConnectedAppSettings component.
1<?xml version="1.0" encoding="UTF-8"?>
2<ConnectedAppSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3 <enableAdminApprovedAppsOnly>false</enableAdminApprovedAppsOnly>
4 <enableAdminApprovedAppsOnlyForExternalUser>false</enableAdminApprovedAppsOnlyForExternalUser>
5 <enableSkipUserProvisioningWizardWelcomePage>true</enableSkipUserProvisioningWizardWelcomePage>
6</ConnectedAppSettings>The following is an example package.xml manifest 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>ConnectedApp</members>
5 <name>Settings</name>
6 </types>
7 <version>47.0</version>
8</Package>