# マスター選択デフォルト検索値設定

## **マスター選択デフォルト検索値設定**

ネットワークで繋いだ先行クラスター（複数可）の入力値が、後続となるマスター選択クラスターフィールドのデフォルト検索値となり、検索を実行した状態でマスターデータを表示できます。

下記の例では、キーボードテキストクラスターへ「TEXT1」という文字列を入力後、マスター選択クラスターをタップすることで、フィールド1を「TEXT1」で検索した結果が表示されています。

<div align="left"><figure><img src="/files/7IphZWbyRvcbkt4pe6Rt" alt=""><figcaption></figcaption></figure></div>

【設定手順】

1. マスター選択クラスターのデフォルト検索値に使用したいクラスターを先行、マスター選択クラスターを後続としたネットワークを設定します。
2. 「ネットワーク一覧」から該当のネットワーク設定を右クリック ＞ 「マスター選択デフォルト検索値設定」をクリックします。\
   「マスター選択デフォルト検索値設定」画面が開きます。
3. マスター選択クラスターに設定されているカスタムマスターデータの中で、ネットワーク先行クラスターの値で検索を行いたい「フィールド名称」にチェックを付けます。

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p>「マスター選択デフォルト検索値設定」画面では、手順1のネットワーク設定でネットワーク先行に設定されているクラスター（デフォルト検索値に使用するクラスター）のデータ型と同一データ型のフィールドのみが、選択候補として表示されます。</p><p>【例】<br>ネットワーク先行クラスターが下記クラスター種別の場合、表示される選択候補のフィールドは下記の通りです。</p><ul><li>キーボードテキストクラスター：データ型が「text」のフィールド および レコードキー、レコードバリュー(親バリュー)</li><li>数値クラスター：データ型が「numeric」のフィールド </li><li>年月日クラスターやカレンダー年月日クラスター：データ型が「date」のフィールド </li><li>時刻クラスター：データ型が「time」のフィールド </li><li>チェッククラスター：データ型が「bool」のフィールド </li></ul></div>
4. 「OK」ボタンをクリックして設定を保存します。

<div align="left"><figure><img src="/files/jHaeSrMhZAxV3BE54E7v" alt=""><figcaption></figcaption></figure></div>

### **マスター選択デフォルト検索値設定の制限**

マスター選択デフォルト検索値設定が行われているネットワークの先行クラスターが、別のネットワークの先行クラスターでもある場合、（つまり、先行クラスターで枝分かれになるネットワーク設定が行われている場合）、「後続クラスターのインプット部品を自動表示」の設定が不可となります。

{% hint style="warning" %}
iOS版i-Reporterアプリにおける制限です。
{% endhint %}

* **制限を受けません**<br>

  <figure><img src="/files/KnMF4DttVqVjKbgG7xVd" alt=""><figcaption></figcaption></figure>

* **制限を受けます**\
  先行クラスターで枝分かれとなるネットワーク設定が行われている<br>

  <figure><img src="/files/uBpKU7XydbKVJcTYL3Dy" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
制限を受ける場合、「後続クラスターのインプット部品を自動表示」の設定が表示されず自動でOFFの設定になりますが、「ConMas i-Reporter Windows版で使用」にチェックを入れることで設定が可能になります。\ <img src="/files/3piylC3TDjZZbI11GZZe" alt="" data-size="original">
{% endhint %}


---

# 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://manuals.i-reporter.jp/create-a-form/controlling-cluster-input/networksetting/default-search-value-setting.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.
