# Record viewer

The Record Viewer portlet displays one row of a table per page in the portlet. Workflows can be attached to the record page, enabling users to edit the data or for customized usage e.g. dispatching a technician in the selected record.&#x20;

## General

General data is required for all portlets.

[General configuration](/6.12/development/flow-portal-2/portlets/common-configuration.md#general)

## Listeners

The portlet can listen to the following events:

* On Filter
* On Row Selection
* On Refresh
* On Point Selection

<div align="left"><img src="/files/-M8te8hiFNXwisASTPGz" alt=""></div>

[Listeners configuration](/6.12/development/flow-portal-2/portlets/common-configuration.md#listeners)

## Data

### Data source

The portlet data source configuration enables the portlet to execute specified queries towards the chosen database connector to fetch data, or fetch data from a workflow.

* Database: uses a flow connector to retrieve data from a database
* Workflow: runs a workflow to retrieve data

[Data source configuration](/6.12/development/flow-portal-2/portlets/common-configuration.md#database-source)

[Workflow source configuration](/6.12/development/flow-portal-2/portlets/common-configuration.md#workflow-source)

## Column mappers

Click the *New* button to add a column mapper. Multiple column mappers can be added.

To edit a mapper, click the drop-down arrow and the mapper will go into edit mode. To remove a mapper, click *delete* (trash can icon).

* Database column: the data that is to be displayed in the field
* Name: the name which will be shown above the data field
* Editor: the format of the field

<div align="left"><img src="/files/-M0rT8W4VX0VjXYP4muz" alt=""></div>

<div align="left"><img src="/files/-M0rULL8r6t6FmjnURBn" alt=""></div>

## Style

Change the header text color and add a header stripe by configuring style.

[Style configuration](/6.12/development/flow-portal-2/portlets/common-configuration.md#style)


---

# 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://help.novacuraflow.com/6.12/development/flow-portal-2/portlets/record-view.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.
