> For the complete documentation index, see [llms.txt](https://manuals.i-reporter.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manuals.i-reporter.jp/input-features/custom-master/settings-in-designer/custommastershow0.md). Agents can also search and read this documentation through its [MCP server](https://manuals.i-reporter.jp/~gitbook/mcp).

# 検索結果０件の場合にあらかじめ指定したレコードを表示する

## **機能概要**

カスタムマスターの検索で該当のレコードが存在しない場合に、「NotFoundRecord」レコードに指定した値を表示する機能です。

<div align="left"><figure><img src="https://content.gitbook.com/content/CXpgG9PGmZ8z3hGmqRae/blobs/GzSGnYvV1gwqBoVAEIA5/image.png" alt=""><figcaption></figcaption></figure></div>

## **設定手順**

1. **レコードの登録**\
   レコードキーを”NotFoundRecord”として、CSV または CustomMasterInputSheet.xlsbに行を追加し取り込みます。\
   このレコードが、該当のレコードが存在しない場合（検索結果０件の場合）に表示されます。<br>

   * CSVの場合<br>

     <div align="left"><figure><img src="https://content.gitbook.com/content/CXpgG9PGmZ8z3hGmqRae/blobs/kHPegDtbE2Gd2dpvOPx3/image.png" alt=""><figcaption></figcaption></figure></div>
   * CustomMasterInputSheet.xlsbの場合<br>

     <div align="left"><figure><img src="https://content.gitbook.com/content/CXpgG9PGmZ8z3hGmqRae/blobs/b9is8TfmSRUy1QCZfhBt/image.png" alt=""><figcaption></figcaption></figure></div>

2. **マスター選択クラスターの設定**\
   i-Repo Designerの 入力パラメーター設定画面で「検索結果０件の場合にあらかじめ指定したレコードを表示する」にチェックをいれます。<br>

   <div align="left"><figure><img src="https://content.gitbook.com/content/CXpgG9PGmZ8z3hGmqRae/blobs/hUuBRWY3lEebRoaCTyGF/image.png" alt=""><figcaption></figcaption></figure></div>
