HomeFeaturesOpen the record behind a value

Feature 03 / 17

Open the record behind a value

Cards are reusable mini-dashboards saved in your DataTug project. Click a cell, say a CustomerID in an orders list, and the matching card opens beside the grid with that customer’s profile, recent orders and charts.

CardsAvailable

The problem

When a customer ID shows up in a result, how quickly can you see who that customer is?

An ID in a result grid is a dead end until someone writes another query. Each lookup is rebuilt by hand, and every teammate builds a slightly different one.

A clearer workflow

  1. Click a value

    Select a cell such as a CustomerID in an orders list, and the matching card opens beside the grid.

  2. Read the context

    See the customer’s profile, recent orders and charts. Results are cached, so revisiting the same customer is instant.

  3. Build once, reuse

    Build cards visually with a live preview. The same cards drop into dashboards.

Worked example

Look inside the demo Customer card

Starting question

What does the demo project’s Customer card need, and which cells open it?

Steps to follow

  1. Follow “Open the Customer card” to open it in the card builder. Cards in the public demo project are read-only.
  2. Read Shown as and Inputs: the card opens as a side panel and takes a customer ID that a rule fills from the selected CustomerID cell.
  3. In Preview, enter a customer ID and choose Show to try the card.

What you learn

You see how one card definition turns a CustomerID cell into a customer view. In the hosted demo the Northwind connection is not reachable yet, so the preview reports that the connection is unavailable; with a reachable source it shows the customer’s profile and orders.

Open the Customer card

What changes

Every ID in a result becomes a way into its context, defined once for the whole project.

In the demo story

Sarah selects BOTTM in the orders list and the Customer card opens beside the grid: order 11045 is unshipped and due tomorrow.

The guided demo of this story is being built. The worked example above runs in today’s demo project.