> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:default

> arc:case のいずれの値も選択された値と一致しない場合に実行される、arc:select 内のフォールバックブロックを定義します。

`arc:default` キーワードは、[arc:select](https://docs.arc.cdata.com/26.4/self-hosted/ja/scripting/keyword-reference/op-arc-select.md) キーワードとともに使用します。`arc:default` はArcScript のブロックで構成され、`arc:select` の値が[arc:case](https://docs.arc.cdata.com/26.4/self-hosted/ja/scripting/keyword-reference/op-arc-case.md) のいずれの値とも一致しない場合に実行されます。

## パラメータ

None

## アトリビュートの制御

None

## 例

条件に応じてアイコンを表示します。`arc:case` エレメントは、`company_name` アトリビュートの`CompanyA` および`CompanyB` に合致します。見つかった場合は、そのケースに関連するアクションをとります。

```xml theme={null}
<arc:select value="[company_name]">
  <arc:case value="CompanyA">
    <img src="http://www.companya.com/favicon.ico" />
  </arc:case>
  <arc:case value="CompanyB">
    <img src="http://www.companyb.com/favicon.ico" />
  </arc:case>
  <arc:default>
    <img src="http://www.myhosting.com/generic.ico"/>
  </arc:default>
</arc:select>
```

## 関連項目

* [arc:select](https://docs.arc.cdata.com/26.4/self-hosted/ja/scripting/keyword-reference/op-arc-select.md)：マルチセレクトArcScript ブロックを記述する。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.