# View Master Data

## Overview

From the search master data screen users can click on any of the rows in the results table, this will redirect the UI to the View master data screen.

### Rendering View Master Data Screen Logic

* Before loading the View screen, we fetch the schema and the data using the schema code and unique Identifier respectively. Curls for search schema and search data can be referred from the Add Master Data page.
* Schema response is used to render the form, similar to add form, and the data response is used to prefill the values in the form. The only difference here is that all the fields are disabled, unlike the add screen.
* The same role action mapping rules apply here as defined in the Add Master Data page.
* In the View screen, we have an action button with two options
  1. Edit Master Data
  2. Disable Master Data
* The above actions are covered in the Update Master Data page.


---

# 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://workbench.digit.org/setup/configurations/workbench-ui/manage-master-data/view-master-data.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.
