5. Intro to Application Building in Workshop29. Moving Widgets

29 - Moving widgets

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

📖 Task Introduction

If you place a widget into one location and later wish to move it, you’ll need to use the pattern described in this task.

Let’s say you’d like to move your metric card widget from your Section header to the application header layer. As you’ll see, Workshop implements a “cut-and-paste” style workflow rather than “drag-and-drop.”

🔨 Task Instructions

  1. Highlight your metric card widget.

  2. In the top right of the module screen, locate and hover over the gray “trash” icon.

  3. Click Remove widget from layout. This removes the widget from the display but keeps it in a “cache” of unused widgets.

    • ℹ️ When you temporarily remove a widget or variable from use in your module, a ⚠️ Warning button appears at the top of your screen. Clicking it will reveal a summary of all unused items with the option of removing them out permanently.
  4. On the right side of your module Header, click the to add a new widget.

    • Your widget selector window has a new section near the bottom: Unused widgets.
  5. Choose Metric card: Avg Risk Score from the Unused widgets list to relocate it to the new position in the Header layer.

  6. Revert your changes by clicking “undo” near the Save and publish button until your metric returns to its place in the table section header (you can also use ctrl+z to perform an “undo”).

ℹ️ Widgets can be moved with this “cut-and-paste” style workflow, but Sections cannot. With a Section highlighted, your “trash” button only provides the option to permanently delete it.