Newer Version Available
ChatterAnswersSettings
In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for more details.
File Suffix and Directory Location
Chatter Answers settings are stored in a single file named ChatterAnswers.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
ChatterAnswersSettings is available in API version 27.0 and later.
Fields
Declarative Metadata Sample Definition
The following is an example chatteranswers.settings metadata file:
1<?xml version="1.0" encoding="UTF-8"?>
2<ChatterAnswersSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3 <emailFollowersOnBestAnswer>true</emailFollowersOnBestAnswer>
4 <emailFollowersOnReply>true</emailFollowersOnReply>
5 <emailOwnerOnPrivateReply>true</emailOwnerOnPrivateReply>
6 <emailOwnerOnReply>true</emailOwnerOnReply>
7 <enableChatterAnswers>true</enableChatterAnswers>
8 <enableFacebookSSO>true</enableFacebookSSO>
9 <enableInlinePublisher>true</enableInlinePublisher>
10 <enableReputation>true</enableReputation>
11 <enableRichTextEditor>true</enableRichTextEditor>
12 <facebookAuthProvider>FacebookAuthProvider</facebookAuthProvider>
13 <showInPortals>true</showInPortals>
14</ChatterAnswersSettings>The following is an example package.xml manifest that references the ChatterAnswersSettings definitions:
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>ChatterAnswers</members>
5 <name>Settings</name>
6 </types>
7 <version>29.0</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.