> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/wizard-editor/advanced-setting/default-value.md).

# デフォルト値を指定する

## 概要

ウィジェットにデフォルト値を指定しておくと、エンドユーザーの入力が楽になる場合があります。

* 基本的にはこの値を設定しておけば問題ない
* 値を変更したいユーザーは自由に変えてOK

といったように標準的な設定値が想定できる場合はデフォルト値の指定が有効です。

<figure><img src="https://files.readme.io/fdfae8ee9496cd3614bca84538f9f1a017fd0d300b12975dfd4e51cc046e2d44-image.png" alt="" width="563"><figcaption></figcaption></figure>

## 仕様

デフォルト値が適用されるのは、そのソリューションを**インストールしていないユーザー**のみです。

既にインストール済みのユーザーが再度ウィザードを開いた場合は、デフォルト値ではなくインストール済みの設定値が適用されます。

## 対応しているウィジェット

### 基本的な入力ウィジェット

<table><thead><tr><th width="125.171875">入力方法</th><th width="72.75">対応</th><th>説明</th></tr></thead><tbody><tr><td>テキスト</td><td>◯</td><td>一般的なテキストウィジェットです。任意の文字列をデフォルトにできます。</td></tr><tr><td>パスワード</td><td>✕</td><td>入力した文字がマスキングされるため、パスワードや秘密情報を入力するのに適したウィジェットです。デフォルト値の指定はできません。</td></tr><tr><td>セレクト</td><td>◯</td><td>固定の選択肢の中から選択するためのウィジェットです。任意の選択肢1つをデフォルトにできます。</td></tr><tr><td>アシスト</td><td>◯</td><td>関連するコネクタのAPIを呼び出して、エンドユーザーごとに固有な選択肢を動的に提示するためのウィジェットです。任意の選択肢1つをデフォルトにできます。</td></tr><tr><td>カレンダー</td><td>◯</td><td>カレンダーの中から日付の入力をするためのウィジェットです。任意の日付をデフォルトにできます。</td></tr><tr><td>CSV項目定義</td><td>✕</td><td>CSVの項目（ヘッダー）をエンドユーザーが定義するためのウィジェットです。デフォルト値の指定はできません。</td></tr><tr><td>CSV項目選択</td><td>✕</td><td>CSVの項目（ヘッダー）をエンドユーザーが選択するためのウィジェットです。デフォルト値の指定はできません。</td></tr><tr><td>CSV</td><td>✕</td><td>CSV（ファイル全体）をエンドユーザーがアップロードするためのウィジェットです。デフォルト値の指定はできません。</td></tr></tbody></table>

### 応用的な入力ウィジェット

エンドユーザー変数が特定の型の場合のみ利用できます。

<table><thead><tr><th width="176.1875">エンドユーザー変数の型</th><th width="150.84765625">入力方法</th><th width="60.29296875">対応</th><th>説明</th></tr></thead><tbody><tr><td>マッピング</td><td>マッピング</td><td>◯</td><td>異なるアプリでデータのマッピングを行うためのウィジェットです。「基本的な入力ウィジェット」の組み合わせとしてデフォルト値を指定できます。</td></tr><tr><td>チェックボックス/複数選択アシスト/テーブルアシスト</td><td>チェックボックス/複数選択アシスト/テーブルアシスト</td><td>△</td><td>固定の選択肢の中から、複数選択が可能なウィジェットです。<br>チェックボックスのみデフォルト値を指定できます。<br>複数選択アシストとテーブルアシストではデフォルト値を指定できません。</td></tr><tr><td>コンディション</td><td>コンディション</td><td>✕</td><td>条件のルールを入力を受け付けるためのウィジェットです。デフォルト値は指定できません。</td></tr></tbody></table>

## 指定方法

ウィジェットを選択した状態で、右ペインからデフォルト値を指定することができます。

### テキストの場合

任意のテキストをデフォルト値として指定します。

<figure><img src="https://files.readme.io/c0bac931413dd6cb03d8097d31e432c17271b980a97d585c45c2fa3a1cdb980d-image.png" alt="" width="563"><figcaption></figcaption></figure>

### セレクトの場合

「デフォルトの入力値として扱う」のラジオボタンにより、1つの項目をデフォルトで選択状態にできます。

<figure><img src="https://files.readme.io/7b1038807f1f5219f6e1bcec2233acead89908a6975537ff237936b7512b743a-image.png" alt="" width="563"><figcaption></figcaption></figure>

### アシストの場合

アシストで返却される値がわかっている場合は、1つをデフォルトで選択状態にできます。

<figure><img src="https://files.readme.io/ed51e64ef578c79e69e220d5e07344a911fa62e4fff073034336a3f66e8210b1-image.png" alt="" width="563"><figcaption></figcaption></figure>

### カレンダーの場合

任意の日付をデフォルト値として指定できます。

<figure><img src="https://files.readme.io/436704686614797aaa9e2a12bae93e15688cd32aeb9362cc538b4d6c9f05fa82-image.png" alt="" width="563"><figcaption></figcaption></figure>

### マッピングの場合

左カラムと右カラムの組み合わせを指定できます。

以下の例ではデフォルトの組み合わせとして3行を設定しています。

<figure><img src="https://files.readme.io/2d16296444522e6b5a1062b51d65aea7f91d74ac038c3224e1d430a1f481b4c3-image.png" alt="" width="563"><figcaption></figcaption></figure>

テスト実行することでイメージを確認できます。

<figure><img src="https://files.readme.io/73e56f2b678eeb4e764ab0dc57c0b43db07bb565bc0956f860bb71a753e1b039-image.png" alt="" width="375"><figcaption></figcaption></figure>

### チェックボックスの場合

「デフォルトの入力値として扱う」にチェックを入れた項目がデフォルトで選択状態になります。（複数選択可）

<figure><img src="https://files.readme.io/e70666ec76308729edf8c7983d5215c94370ab94964e22997efb438b0e2f18d0-image.png" alt="" width="563"><figcaption></figcaption></figure>


---

# 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-embed.anyflow.jp/wizard-editor/advanced-setting/default-value.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.
