> 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).

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

## **機能概要**

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

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

## **設定手順**

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

   * CSVの場合<br>

     <div align="left"><figure><img src="/files/QgyES8dIr1STJaFHJBfN" alt=""><figcaption></figcaption></figure></div>
   * CustomMasterInputSheet.xlsbの場合<br>

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

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

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


---

# 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://manuals.i-reporter.jp/input-features/custom-master/settings-in-designer/custommastershow0.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.
