この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

Community (Zone)

アイデアオブジェクトまたは Chatter アンサーオブジェクトを含むゾーンを表します。ゾーンは、アイデア、アンサー、および Chatter アンサー機能で共有されるため、このどこからでもゾーンを表示および作成できます。Metadata メタデータ型を拡張し、その fullName 項目を継承します。

Summer '13 リリース以降では、Chatter アンサーおよびアイデアの「コミュニティ」は「ゾーン」に名称変更されます。API バージョン 28 では、API オブジェクトの表示ラベルが Zone に変わりましたが、API 種別は Community のままです。

メモ

ファイルのサフィックスおよびディレクトリの場所

ゾーンのサフィックスは community で、communities フォルダに保存されます。

バージョン

Community (Zone) コンポーネントは、API バージョン 27.0 以降で使用できます。

項目

enableChatterAnswersfalse に設定されている場合、communityFeedPageemailFooterDocumentemailHeaderDocumentenablePrivateQuestionsemailNotificationUrl、および site 項目に指定した値は無視され、保存されません。

メモ

項目名 項目の型 説明
active boolean ゾーンが有効であるか (true)、否か (false) を示します。
chatterAnswersFacebookSsoUrl string (参照のみ) [Chatter アンサー] 設定で選択された Facebook 認証プロバイダに基づく、Facebook のサインオン URL。この項目は、Chatter アンサーと Chatter アンサー用の Facebook シングルサインオンが有効な場合にのみ使用できます。
communityFeedPage string ゾーンのフィードがホストされる Visualforce ページ。この項目は、組織で Chatter アンサーが有効になっている場合に使用できます。
description string ゾーンの説明。
emailFooterDocument string 組織のブランド情報をメール通知のフッターに組み込むテキストファイルまたは HTML ファイル。この項目は、組織で Chatter アンサーが有効になっている場合に使用できます。
emailHeaderDocument string 組織のブランド情報をメール通知のヘッダーに組み込むテキストファイルまたは HTML ファイル。この項目は、組織で Chatter アンサーが有効になっている場合に使用できます。
emailNotificationUrl string メール通知に含まれる URL。この項目は、組織で Chatter アンサーが有効になっている場合に使用できます。API バージョン 28.0 以降、この項目は portalEmailNotificationUrl を置き換えます。
enableChatterAnswers boolean ゾーンで Chatter アンサーが有効化されているか (true)、否か (false) を示します。この項目は、組織で Chatter アンサーが有効になっている場合に使用できます。
enablePrivateQuestions boolean Chatter アンサーの質問をケースにエスカレーションできるか (true)、否か (false) を示します。この項目は、組織で Chatter アンサーが有効になっている場合に使用できます。
expertsGroup string ゾーンのエキスパートの役割を果たす公開グループの名前。この項目は、組織でアイデアまたはアンサーが有効になっている場合に使用できます。
portal string ゾーンが表示されるポータルの名前。
portalEmailNotificationUrl string メール通知に含まれるポータル URL。この項目は、組織で Chatter アンサーが有効になっている場合に使用できます。API バージョン 28.0 以降、この項目は emailNotificationUrl で置き換えられました。
reputationLevels ReputationLevels 定義する各評価レベルの名前とポイントを定義する項目。評価レベルは、1 ゾーンにつき 25 個まで作成できます。
showInPortal boolean ゾーンをすべてのポータルで使用できるか (true)、いずれのポータルでも使用できないか (false) を示します。
site string ゾーンのサイトの名前。この項目は、組織で Chatter アンサーが有効になっている場合に使用できます。

ReputationLevels

フィードでユーザの写真の上にマウスを置くと表示されるポイントと評価レベルを表します。

項目名 項目の型 説明
chatterAnswersReputationLevels ChatterAnswersReputationLevel [] Chatter アンサーの評価レベルを説明する名前と値のペアが含まれます。API バージョン 28.0 以降で利用できます。
ideaReputationLevels IdeaReputationLevel アイデアの評価レベルを説明する名前と値のペアが含まれます。API バージョン 28.0 以降で利用できます。

ChatterAnswersReputationLevel

Chatter アンサーの評価名およびそのレベルのポイント数を表します。

項目名 項目の型 説明
name string 評価レベルの名前。たとえば「エキスパート」など。
value int 評価レベルの最小ポイント数。

IdeaReputationLevel

アイデアの評価名およびそのレベルのポイント数を表します。API バージョン 28.0 以降で利用できます。

項目名 項目の型 説明
name string 評価レベルの名前。たとえば「エキスパート」など。
value int 評価レベルの最小ポイント数。

宣言的なメタデータの定義のサンプ��

次に、Community (Zone) コンポーネントの定義を示します。

1<?xml version="1.0" encoding="UTF-8"?>
2<Community xmlns="http://soap.sforce.com/2006/04/metadata">
3    <active>true</active>
4    <communityFeedPage>communityWithHeaderAndFooter_main</communityFeedPage>
5    <description>Metadata Test</description>
6    <emailFooterDocument>sampleFolder/emailFooter.html</emailFooterDocument>
7    <emailHeaderDocument>sampleFolder/emailHeader.html</emailHeaderDocument>
8    <enableChatterAnswers>true</enableChatterAnswers>
9    <enablePrivateQuestions>true</enablePrivateQuestions>
10    <expertsGroup>CommunityExperts</expertsGroup>
11    <portal>Customer Portal</portal>
12    <emailNotificationUrl>http://yourURL</emailNotificationUrl>
13<reputationLevels>
14        <chatterAnswersReputationLevels>
15            <name>Newbie</name>
16            <value>0</value>
17        </chatterAnswersReputationLevels>
18        <chatterAnswersReputationLevels>
19            <name>Smartie</name>
20            <value>500</value>
21        </chatterAnswersReputationLevels>
22        <chatterAnswersReputationLevels>
23            <name>Pro</name>
24            <value>2000</value>
25        </chatterAnswersReputationLevels>
26        <chatterAnswersReputationLevels>
27            <name>All Star</name>
28            <value>5000</value>
29        </chatterAnswersReputationLevels>
30        <ideaReputationLevels>
31            <name>Observer</name>
32            <value>0</value>
33        </ideaReputationLevels>
34        <ideaReputationLevels>
35            <name>Contributor</name>
36            <value>100</value>
37        </ideaReputationLevels>
38        <ideaReputationLevels>
39            <name>Influencer</name>
40            <value>400</value>
41        </ideaReputationLevels>
42        <ideaReputationLevels>
43            <name>Thought Leader</name>
44            <value>1500</value>
45        </ideaReputationLevels>
46    </reputationLevels>
47    <showInPortal>true</showInPortal>
48    <site>ChatterAnswersSite</site>
49</Community>

マニフェストファイル内のワイルドカードのサポート

このメタデータ型では、package.xml マニフェストファイル内のワイルドカード文字 * (アスタリスク) がサポートされます。マニフェストファイルの使用についての詳細は、「zip ファイルを使用したメタデータのリリースと取得」を参照してください。