User Community Service Desk Downloads
If you can't find the product or version you're looking for, visit support.ataccama.com/downloads

Value Presenters

Value presenters in RDM are used to modify the appearance and content of a column value. Typical examples are clickable URL links with custom link text and image URLs rendered as images. Value presenters consist of HTML code and column names used as value placeholders.

For example, you can make a column value https://example.com appear as Example (a clickable link with a custom link text).

Using this feature requires basic HTML knowledge.
In EDIT mode, the raw value of the attribute is displayed. Value presenters are only applied in PUBLISHED and HISTORY modes.

Define a value presenter

Before a value presenter can be assigned to a column to modify its value, it must be defined.

  1. Open your RDM project.

  2. Expand RDM Logical Model > Value Presenters.

  3. Right-click Value Presenters and select New value presenter.

  4. Fill in the name and define the template. See Template examples for predefined templates.

  5. Select OK.

Define a value presenter

Assign a value presenter

Once a value presenter is created, it can be assigned to a column to modify the appearance of column values.

  1. Open your RDM project.

  2. Expand RDM Logical Model > Tables.

  3. Double-click a table in which you want to assign a value presenter.

  4. Switch to the Columns tab.

  5. Double-click the row number of the column to which you want to assign a value presenter.

  6. In the Value Presenter field, assign a previously created value presenter.

Assign a value presenter

Template examples

Here are several sample value presenter configurations.

The following example demonstrates a clickable link with a link text customized for the given table:

<a href='http://${site}' target='_blank'>Official site of ${name} branch</a>

This template uses the value of the Official Website column as the link URL and the value of the Name column in the link text.

Here is how it looks in the web application:

Define a value presenter

The following template turns a plain email address into a clickable mailto link:

<a href='mailto:${email}' target='_blank'>${email}</a>

URL rendered as an image

The following template displays an image instead of the underlying URL to that image.

<img src='${flag}' height='20' width='40'>

Troubleshooting: Images not displayed in the web app

In case the images you defined are not showing in the web application and you have verified that the image URLs are correctly specified, trying editing the property one.security.header.content-security-policy.img-src in RDM Application Properties. Before you provide a new value, take into consideration the potential security implications of changing the default value.

Was this page useful?