5. Intro to Application Building in Workshop5. Adding Widgets To Your Module

5 - Adding widgets to your module

This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.

📖 Task Introduction

Application building in Workshop is essentially a matter of placing and configuring widgets with the desired inputs, outputs, and display options.

In this exercise, you’ll be carrying out this fundamental pattern by:

  1. Placing an Object Table widget into the right section of the default layout.
  2. Configuring the columns and table behavior.
  3. Defining and inputting an object set the table can use.
  4. Setting your table’s display options and formatting.

🔨 Task Instructions

  1. Click ➕ Add widget in the right-hand section of your module.
  2. Choose Object table from the alphabetized list of available widgets. Notice three things happen when you add a widget.
    1. An empty widget is added to the “parent” section in the center panel (i.e., widgets are “children” of the section they reside in).
    2. The configuration panel for your widget appears on the right side of the screen.
    3. An entry for “Object table 1” is nested under the corresponding “Section” in the layout tab in the left panel.

In the righthand configuration panel, the Input block is asking for an object set. Specifically, it’s asking for an object set variable. Widgets take object sets as inputs, and we must define those object sets using the variables framework.