ChatterAnswersSettings

Represents the metadata used to manage settings for Chatter Answers.

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

Parent Type 

This type extends Metadata and inherits its fields.

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

Fields 

emailFollowersOnBestAnswer 

  • Type: boolean
  • Required: No
  • Description: Indicates whether users are notified when a best answer is selected for a question that they’re following (true) or not (false).

emailFollowersOnReply 

  • Type: boolean
  • Required: No
  • Description: Indicates whether users are notified when other users reply to questions that they’re following (true) or not (false).

emailOwnerOnPrivateReply 

  • Type: boolean
  • Required: No
  • Description: Indicates whether users are notified when customer support responds to their questions privately (true) or not (false).

emailOwnerOnReply 

  • Type: boolean
  • Required: No
  • Description: Indicates whether users are notified when other users reply to their questions (true) or not (false).

enableAnswerViaEmail 

  • Type: boolean
  • Required: No
  • Introduced: API version 29.0
  • Description: Indicates whether users can post answers by replying to email notifications (true) or not (false).

enableChatterAnswers 

  • Type: boolean
  • Required: Yes
  • Description: Indicates whether the Chatter Answers feature is enabled in the organization (true) or not (false).

enableFacebookSSO 

  • Type: boolean
  • Required: No
  • Description: Indicates whether users can sign in to your Chatter Answers forums with their Facebook logins (true) or not (false). To enable this feature, you must define and enable a Facebook authentication provider in your organization’s security controls and enable Auth Providers in your organization.

enableInlinePublisher 

  • Type: boolean
  • Required: No
  • Introduced: API version 29.0
  • Description: Indicates whether users can filter search results by articles or questions before they post a question to any of your Chatter Answers forums (true) or not (false). Also, adds Title and Body fields to questions for easier text input and scanning.

enableReputation 

  • Type: boolean
  • Required: No
  • Description: Indicates whether user reputations appear as hover text on their profile pictures (true) or not (false). Reputation is enabled across all zones. To enable the reputation setting, you must enable Reputation in your organization.

enableRichTextEditor 

  • Type: boolean
  • Required: No
  • Description: Indicates whether the rich text editor is enabled for users to format text and upload images when posting questions (true) or not (false). To enable rich text editor, you must enable Optimize Question Flow.

facebookAuthProvider 

  • Type: string
  • Required: No
  • Description: The name of an existing Facebook authentication provider. To implement Facebook Single Sign On for your Chatter Answers forums, you must choose a Facebook authentication provider.

showInPortals 

  • Type: boolean
  • Required: No
  • Description: Indicates whether Chatter Answers can be added as a tab to your Customer portal or partner portal (true) or not (false).

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.