# 基本を学ぶ

## 概要

「**基本を学ぶ**」セクションへようこそ。このセクションでは、Salesforce Experience Site 向け Avonni Components の基本概念を案内します。このリソースは、Experience Site の構築とカスタマイズにおいて Avonni Components を強力なツールにしている主要な機能や機能性を包括的に理解できるよう設計されています。

***

## スロットの理解

{% hint style="warning" %}
スロットは **LWR サイトでのみ利用できます**.
{% endhint %}

スロットは、Salesforce Experience Site 向けの多くの Avonni Components における基本機能であり、その柔軟性を高め、カスタマイズするうえで重要な役割を果たします。スロットは本質的にコンポーネント内のプレースホルダーであり、そこにさまざまな他の要素やコンポーネントを挿入できるため、サイトの要素の機能やデザインを柔軟に調整する強力な方法を提供します。

<figure><img src="/files/e82ef79f9666a71af4e6ef50141506e77ff8b170" alt=""><figcaption><p>スロットの識別方法</p></figcaption></figure>

***

## Avonni Components を使用したデータモデル共有

### Salesforce のデータ共有ルールの遵守

* **組織設定の尊重:** Avonni Components は、Salesforce 組織に既存のデータ共有設定とアクセス設定に完全に準拠しています。
* **干渉しないポリシー:** これらのコンポーネントは、事前に設定されたデータ共有ルールをいかなる形でも変更したり影響を与えたりしません。
* **制御された表示とアクセス:** Avonni Components を通じてレコードを表示し操作する機能は、組織で定義された共有設定とユーザー権限によって管理されます。

***

## 高度な表示制御

あらかじめ用意された Experience Site コンポーネントは、Salesforce の標準的な表示モデルに従います。Audience を使用して、プロファイル、場所、またはその他の大まかな条件に基づいてコンポーネントを表示または非表示にできます。

よりきめ細かな制御が必要な場合 — たとえば、特定のフィールドが値に等しい場合にのみコンポーネントを表示する、またはユーザー操作に基づいて表示を切り替える場合 — [Avonni Dynamic Components](/dynamic-components/welcome.md) は、組み込みの [表示ルールシステム](/dynamic-components/core-concepts/component-visibility.md) を提供し、Experience Cloud サイトで動作します。Dynamic Component 内に Flows、カスタム LWC、Avonni コンポーネントを埋め込み、レコードデータ、変数、数式、またはデバイスタイプに基づく条件を使用して、1 か所から表示を管理できます。

Dynamic Components とあらかじめ用意された Experience Components は、同じサイトページ上で共存できます。既定の動作で十分な場合はあらかじめ用意されたコンポーネントを使用し、条件分岐ロジックや複雑なレイアウトが必要な場合は Dynamic Components を使用してください

***

## 式

コンポーネント設定内の式は、値を動的に計算してコンテンツを更新し、サイトのインタラクティブ性と応答性を高めます。

式に関するチュートリアルを確認して、サイトの動的性と応答性を高めましょう。

| 名前                                                                                                                                        | 説明                                                  |
| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| [**現在の関連レコード情報を表示するようにデータテーブルを設定する**](/experience-cloud/experience-cloud-ja/chtoriaru/konpnento/dtatburu/dtatburuwoshitenorekdowosuru.md) | 既存のアカウントに関連する連絡先情報を表示するように Avonni Data Table を設定する。 |
| [**現在のユーザー情報を表示するようにプロフィールカードを設定する**](/experience-cloud/experience-cloud-ja/chtoriaru/konpnento/purofrukdo/purofrukdowoshitenoyzwo.md)    | ユーザー情報の表示をパーソナライズするように Avonni Profile Card を設定する    |

### 式についてさらに詳しく学ぶ

{% content-ref url="/pages/7c2078eb914ae3c5cb70ccccdb3e82f45f431661" %}
[LWR サイト向けの式](/experience-cloud/experience-cloud-ja/chtoriaru/yi-ban/lwr-saitokeno.md)
{% endcontent-ref %}

{% content-ref url="/pages/3365b354b57c645717ce38ce665c2382f131c7d9" %}
[Aura サイト向けの式](/experience-cloud/experience-cloud-ja/chtoriaru/yi-ban/aura-saitokeno.md)
{% endcontent-ref %}


---

# Agent Instructions: 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:

```
GET https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/hajimeni/wobu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
