---
schema_version: "1"
id: 29e6b1981bedc4e56c19bc91cbe004585a0d1f5cd9c38db047ff2c274f82e31e
title: Community (Zone)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_community.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_community.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0eb358fae98810a3b40141835905dd8bf4711de5b86276846b51fcc4e14465f1
description: Represents a zone that contains Ideas or Chatter Answers objects. Zones are shared by the Ideas, Answers, and Chatter Answers features, allowing you to view and create zones from those locations.This type extends the Metadata metadata type and inherits its fullName field.
---
# Community (Zone)

Represents a zone that contains Ideas or Chatter Answers objects. Zones are shared by the Ideas, Answers, and Chatter Answers features, allowing you to view and create zones from those locations.This type extends the Metadata metadata type and inherits its fullName field.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

Starting with the Summer ’13 release, Chatter Answers and Ideas “communities” have been renamed to “zones.” In API version 28, the API object label has changed to Zone, but the API type is still Community.

## File Suffix and Directory Location

Zones have the suffix community and are stored in the communities folder.

## Version

Community (Zone) components are available in API version 27.0 and later.

## Fields

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

When enableChatterAnswers is set to false, values specified for the following fields are ignored and not saved: communityFeedPage, emailFooterDocument, emailHeaderDocument, enablePrivateQuestions, emailNotificationUrl, and site.

| Field Name | Field Type | Description |
| --- | --- | --- |
| active | boolean | Indicates whether the zone is active (true) or not (false). |
| chatterAnswersFacebookSsoUrl | string | (Read only) The Facebook sign-on URL, which is based on the Facebook authentication provider selected in your Chatter Answers settings. This field is available only if Chatter Answers and Facebook Single Sign-On for Chatter Answers are enabled. |
| communityFeedPage | string | The Visualforce page that hosts the zone’s feeds. This field is available when Chatter Answers is enabled in the organization. |
| description | string | The description of the zone. |
| emailFooterDocument | string | The text or HTML file that incorporates your organization’s branding into the footer of email notifications. This field is available when Chatter Answers is enabled in the organization. |
| emailHeaderDocument | string | The text or HTML file that incorporates your organization’s branding into the header of email notifications. This field is available when Chatter Answers is enabled in the organization. |
| emailNotificationUrl | string | The URL that’s included in email notifications. This field is available when Chatter Answers is enabled in the organization. This field replaces portalEmailNotificationUrl in API version 28.0 and later. |
| enableChatterAnswers | boolean | Indicates whether the zone has Chatter Answers enabled (true) or not (false). This field is available when Chatter Answers is enabled in the organization. |
| enablePrivateQuestions | boolean | Indicates whether Chatter Answers questions can be escalated to cases (true) or not (false). This field is available when Chatter Answers is enabled in the organization. |
| expertsGroup | string | The name of the public group that act as experts in the zone. This field is available when eitherIdeas or Answers are enabled in the organization. |
| portal | string | The name of the portal in which to display the zone. |
| portalEmailNotificationUrl | string | The portal URL that’s included in email notifications. This field is available when Chatter Answers is enabled in the organization. This field has been replaced by emailNotificationUrl in API version 28.0 and later. |
| reputationLevels | [ReputationLevels](#reputationLevels) | The fields that define the points and name of each reputation level you define. You can create up to 25 reputation levels per zone. |
| showInPortal | boolean | Indicates whether the zone is available to all portals (true) or not available to any portals (false). |
| site | string | The name of the site for the zone. This field is available when Chatter Answers is enabled in the organization. |

## ReputationLevels

Represents the points and reputation label that displays on hover over a user’s photo in the feed.

| Field Name | Field Type | Description |
| --- | --- | --- |
| chatterAnswersReputationLevels | [ChatterAnswersReputationLevel](#ChatterAnswersreputationLevels) \[\] | Contains the name and value pair that describes the reputation level for Chatter Answers. Available in API version 28.0 and later. |
| ideaReputationLevels | [IdeaReputationLevel](#IdeasreputationLevels) | Contains the name and value pair that describes the reputation for Ideas. Available in API version 28.0 and later. |

## ChatterAnswersReputationLevel

Represents the reputation name and the number of points for that level for Chatter Answers.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | The name of the reputation level, for example, “Expert.” |
| value | int | The minimum number of points for the reputation level. |

## IdeaReputationLevel

Represents the reputation name and the number of points for that level for Ideas. Available in API version 28.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | The name of the reputation level, for example, “Expert.” |
| value | int | The minimum number of points for the reputation level. |

## Declarative Metadata Sample Definition

The following is the definition of a community (zone) component:

<?xml version="1.0" encoding="UTF-8"?>
<Community xmlns="http://soap.sforce.com/2006/04/metadata">
    <active\>true</active\>
    <communityFeedPage\>communityWithHeaderAndFooter\_main</communityFeedPage\>
    <description\>Metadata Test</description\>
    <emailFooterDocument\>sampleFolder/emailFooter.html</emailFooterDocument\>
    <emailHeaderDocument\>sampleFolder/emailHeader.html</emailHeaderDocument\>
    <enableChatterAnswers\>true</enableChatterAnswers\>
    <enablePrivateQuestions\>true</enablePrivateQuestions\>
    <expertsGroup\>CommunityExperts</expertsGroup\>
    <portal\>Customer Portal</portal\>
    <emailNotificationUrl\>http://yourURL</emailNotificationUrl\>
<reputationLevels\>
        <chatterAnswersReputationLevels\>
            <name\>Newbie</name\>
            <value\>0</value\>
        </chatterAnswersReputationLevels\>
        <chatterAnswersReputationLevels\>
            <name\>Smartie</name\>
            <value\>500</value\>
        </chatterAnswersReputationLevels\>
        <chatterAnswersReputationLevels\>
            <name\>Pro</name\>
            <value\>2000</value\>
        </chatterAnswersReputationLevels\>
        <chatterAnswersReputationLevels\>
            <name\>All Star</name\>
            <value\>5000</value\>
        </chatterAnswersReputationLevels\>
        <ideaReputationLevels\>
            <name\>Observer</name\>
            <value\>0</value\>
        </ideaReputationLevels\>
        <ideaReputationLevels\>
            <name\>Contributor</name\>
            <value\>100</value\>
        </ideaReputationLevels\>
        <ideaReputationLevels\>
            <name\>Influencer</name\>
            <value\>400</value\>
        </ideaReputationLevels\>
        <ideaReputationLevels\>
            <name\>Thought Leader</name\>
            <value\>1500</value\>
        </ideaReputationLevels\>
    </reputationLevels\>
    <showInPortal\>true</showInPortal\>
    <site\>ChatterAnswersSite</site\>
</Community\>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).