Switchboard Docs
Context layer

Set up properties

Name model fields and define how people use them.

A property is a field on a model. It can identify, describe, or measure a row. For example, an orders model can have order_id, order_date, and net_revenue properties.

Before you start

You need Builder, Admin, or a custom role with model editing access. Create a model and generate its source columns first.

Edit a property

  1. Open the model in Models and select the property in its field list.
  2. Set Property Name to the name readers should see.
  3. Add a Description that explains the field's meaning and important exceptions.
  4. Check the source Property and Value Type.
  5. Set the default format when needed, such as a currency or percentage format.
  6. Turn on Is Primary Key if this property identifies each row.
  7. Use Hide From Explore for fields that should stay out of the explore picker.
  8. Select the model's Save button. Read validation and check the build result.

A primary key must identify one row. Several properties can form a combined key. For example, order ID and line ID together can identify an order line. Do not mark an amount or date as a key merely because the current sample has no duplicates.

Select Add link to turn a property value into an outbound link. Set Link URL and Link label. The URL can include {{ value }} for the cell's value. For example, https://example.com/orders/{{ value }} opens the matching order page. Save the model and check the link in an explore.

Display images

Use Image for a source-backed text column containing HTTPS image URLs. This display setting keeps the underlying values as text.

  1. Select the property in the model editor.
  2. Under Value Type, choose Image.
  3. Select the model's Save button and check the build result.
  4. Add the property to a table explore. Each valid image URL appears as a thumbnail.
  5. Hover over a thumbnail for a preview, or click it to enlarge the image.

If Image is disabled, check that the property uses a text column from the model's source. Image unavailable means the URL is invalid or the image could not load. Check the URL and its accessibility. An empty value leaves the cell blank.

Verify the property

Open an explore from the model. Check the field name, description, values, and format. Hidden fields stay out of field selection; hiding is not a data-access policy. Use sharing and access for access controls.

If the model cannot save, check that it has a primary key. Confirm that each property refers to a valid source column. Changing primary keys requires a rebuild from scratch. Read the editor's warning before approving that rebuild.

Use model context for interpretation guidance beyond the property's Description.

On this page