> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/data-sources/cms-collection.md).

# CMS コレクション

## 概要

このページでは、どのように **CMS コレクション** として使用できます **データソース** Avonni コンポーネント向けに **Salesforce Experience Cloud**.

サポートされている場合、CMS コレクションにより Avonni **データ駆動型コンポーネント**—たとえば [**リスト**](/experience-cloud/experience-cloud-ja/experience-components/ax-list.md) または [**データテーブル**](/experience-cloud/experience-cloud-ja/experience-components/ax-data-table.md)—を、Salesforce のレコードやカスタムオブジェクトに依存せず、Salesforce CMS で管理されているコンテンツ（記事、画像、ドキュメント、その他の CMS アイテム）で動的に表示できます。

Salesforce には複数の CMS アーキテクチャがあるため、このページではまた次の点も明確にします: **Enhanced CMS とレガシー（非拡張）CMS の重要な違い**。以下で作成された CMS コレクションのみ **Enhanced CMS** が、CMS をデータソースとして使用する Avonni コンポーネントと互換性があります。

この違いを理解することは、設定の問題を避け、CMS ベースのデータソースが Experience Cloud サイトで期待どおりに動作するようにするために不可欠です。

***

## CMS コレクションとは？

CMS コレクションは、Experience Cloud サイトで動的にクエリおよび表示できる CMS コンテンツ（記事、画像、ドキュメントなど）のグループです。

CMS をデータソースとしてサポートする Avonni コンポーネントは、 **Salesforce Content Services API**と互換性があるのみです。 **Enhanced CMS**.

***

## Enhanced CMS とレガシー CMS の比較

Salesforce は **2 種類の CMS アーキテクチャを** プラットフォーム上で共存しています:

### <mark style="background-color:green;">Enhanced CMS（サポート対象）</mark>

Enhanced CMS は Salesforce が導入した最新の CMS アーキテクチャであり、 **Avonni コンポーネントでサポートされる唯一の CMS タイプです**.

主な特徴:

* 以下から作成されます **セットアップ → CMS ワークスペース**
* 使用します **Content Services API**
* CMS コレクションのレコード ID は次で始まります **`20V`**
* コンテンツは次でも参照できます **Content Key** （次で始まる `MC`)
* 最新の Experience Cloud 機能とヘッドレス配信向けに設計されています

これは、CMS コレクションをサポートする Avonni コンポーネントが想定する CMS モデルです。

***

### <mark style="background-color:orange;">レガシー / 非拡張 CMS（サポート対象外）</mark>

レガシー CMS は、Aura ベースの Experience Cloud サイトで従来使用され、次から管理される旧来の CMS システムです:

Experience ワークスペース → Content Management

主な特徴:

* レガシー CMS オブジェクトに基づいており（たとえば `ManagedContent` と `ManagedContentCollection`)
* コレクションのレコード ID は従来、次で始まっていました **`0V5`**
* コンテンツとコンテナは次を使用する場合があります **`0Zu`** レコード ID
* **Content Services API では公開されません**

レガシー CMS コンテンツは Salesforce UI では引き続き使用可能に見える場合がありますが、 **プログラムからはアクセスできません** Content Services に依存する最新のコンポーネントではアクセスできません。

そのため、レガシー CMS コレクションは **データソースとして使用できません** Avonni コンポーネントで使用できません。

***

## レガシー CMS コレクションがサポートされない理由

CMS コレクションをサポートする Avonni コンポーネントは、Salesforce の **Content Services API** コンテンツをクエリし、表示する機能に依存しています。

Salesforce が公開するのは **Enhanced CMS コンテンツ** のみです。

レガシー CMS コレクション:

* Content Services では利用できません
* Content Key を提供しません
* 次を期待するコンポーネントでは解決できません `20V` または `MC` 識別子

これは Salesforce プラットフォームの制限であり、設定の問題ではありません。

***

## Aura サイト

Experience Cloud サイトが Aura ベースであっても:

* Enhanced CMS **引き続き使用できます** コンテンツソースとして
* Content Management で作成されたレガシー CMS コレクションは **互換性がありません** Avonni の CMS ベースのデータソースと

Aura サイトで Avonni コンポーネントと CMS コレクションを使用するには、コレクションを次の場所で作成する必要があります: **Enhanced CMS ワークスペース**.

***

## 互換性のある CMS コレクションの作成方法

Avonni コンポーネントで CMS コレクションをデータソースとして使用するには:

1. 次に移動します **セットアップ → CMS ワークスペース**
2. 新しい **Enhanced CMS ワークスペース**
3. 次を作成します **コンテンツコレクション** そのワークスペース内で
4. コレクションにコンテンツを公開します
5. 次のいずれかを使用します:
   * 次の **コンテンツコレクション ID** （ `20V`）、または
   * 次の **Content Key** (`MC…`)

Avonni コンポーネントでサポートされるのはこれらの識別子のみです。

***

## 概要

| CMS タイプ          | ワークスペースの場所                              | ID プレフィックス   | Avonni CMS データソースでサポートされます |
| ---------------- | --------------------------------------- | ------------ | -------------------------- |
| **Enhanced CMS** | セットアップ → CMS ワークスペース                    | `20V`, `MC`  | ✅ はい                       |
| **レガシー CMS**     | Experience ワークスペース → Content Management | `0V5`, `0Zu` | ❌ いいえ                      |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/data-sources/cms-collection.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
