Adding a table block in Studio

Edited

You can add tabular data to your Studio pages, based on the datasets in your workspace.

Step 1: Select a block to edit

You need to define the block type before you configure the content you want to add.

  1. From the preview pane, click the block you want to configure

  2. In the vertical pane on the left, select Table as the block type

  3. Click Next, or double-click on the block type

You can always change the block type afterward, though the block configuration will reset if you do so.

Step 2: Choose the dataset to use

Select the dataset you wish to use from the list of datasets on your workspace.

A preview will display the first 20 records, as well as the dataset's title, publisher name, security status, and description.

If necessary, click the link just above the data to explore the data on your portal.

Click Next at the bottom of the vertical pane on the left.

Step 3: Configure the table parameters

To configure how the dataset will display in your block:

  • Columns: Toggle "Select fields to display" to limit which fields will be displayed, clicking on Add a field to add each additional field.

  • Default sort: As an option, you can select the field you wish to use to sort the data. Depending on the data type, you will be able to select the appropriate sort order.

  • Conditions: You can add conditions to display only specific records.
    You may select one or more fields, and choose if the conditions are applied with an AND or an OR. Depending on the data type of the chosen fields, each condition can be precisely configured. For example, a condition might check if each record contains or does not contain the defined value, is equal to or not equal to that value, or if the chosen field is empty or not empty in that record. Dates can be checked to see if they're equal to or not equal to a given date, before it or after it, etc.
    To delete conditions simply roll over it and click on the trash can icon.

  • Select the number of records per page you wish to display by default. Note that when browsing your page, users can always manually modify the number of records visible per page. This simply determines the default value.

Click Next to move on to the final part of the configuration.

Step 4: Set the table style (optional)

These configurations are optional, but you can provide a title and subtitle for the table, as well as a description to make it accessible to visually impaired users.

Click Finish.

Don't forget to click Save. And when you're ready, click Publish in the upper-right.