QUESTPIE
Build Your WorkspaceActions

Built-in Actions

Default CRUD actions — create, save, delete, and duplicate.

The admin panel provides these actions automatically for every collection. No configuration needed.

Available Actions

ActionLocationTriggerDescription
CreateList view toolbar"New" buttonOpens a blank form to create a new record
SaveForm view toolbar"Save" buttonSaves the current form data (create or update)
DeleteForm view toolbar"Delete" buttonDeletes the current record (with confirmation)
DuplicateForm view toolbar"Duplicate" buttonClones the record and opens it as a new form
Bulk DeleteList view (multi-select)Bulk toolbarDeletes all selected records

Access Control

Actions respect your collection's .access() rules. If a user lacks permission for an operation, the corresponding action button is hidden:

collection("posts")
  .fields(({ f }) => ({ /* ... */ }))
  .access({
    create: ({ session }) => session?.user?.role === "admin",
    update: ({ session }) => session?.user?.role === "admin",
    delete: ({ session }) => session?.user?.role === "admin",
    read: true,
  })
Access RuleControls
create"New" button visibility
update"Save" button visibility
delete"Delete" and "Bulk Delete" visibility
readWhether records are shown at all

Soft Delete Behavior

When a collection has softDelete: true in its options:

  • Delete sets deletedAt instead of removing the row
  • Restore action appears on soft-deleted records
  • Soft-deleted records are hidden from default queries but accessible via filters
.options({ softDelete: true })

Workflow Stage Actions

When a collection uses versioning with a workflow, additional stage transition actions appear:

.options({
  versioning: {
    enabled: true,
    workflow: {
      stages: ["draft", "review", "published"],
      initialStage: "draft",
    },
  },
})

The form toolbar shows transition buttons like "Move to Review" or "Publish" based on the current stage and allowed transitions.

Keyboard Shortcuts

ShortcutAction
Ctrl+S / Cmd+SSave current record
DeleteDelete (when focused on record)

On this page