> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nextedy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Widget Parameters

> Reference for the parameters of the Nextedy MEDIAKIT Upload rich page widget.

export const LastReviewed = ({date}) => {
  if (!date) return null;
  const formatted = new Date(`${date}T00:00:00Z`).toLocaleDateString("en-US", {
    year: "numeric",
    month: "long",
    day: "numeric",
    timeZone: "UTC"
  });
  return <p className="mt-10 text-sm text-gray-400 dark:text-zinc-500 not-prose">
      Last reviewed on {formatted}
    </p>;
};

The **Mediakit Upload** widget renders the gallery on a rich page. For the procedure, see [Adding the Widget](/mediakit/guides/adding-the-widget).

## Parameters

| Parameter  | Label in the widget editor | Type    | Default | Description                                       |
| ---------- | -------------------------- | ------- | ------- | ------------------------------------------------- |
| `workitem` | Work Item ID               | string  | —       | The work item whose attachments the gallery shows |
| `height`   | Height (min 200)           | integer | `400`   | Height of the gallery area, in pixels             |
| `mode`     | Mode (grid \| table)       | string  | `grid`  | Which view the gallery opens in                   |

### Work Item ID

Identifies the work item whose files appear. Unlike the form extension — which always shows the item whose form it sits on — the widget has no implicit item, so this is the parameter that gives it one.

### Height

The widget editor labels this **Height (min 200)**, indicating 200 pixels as the intended lower bound.

### Mode

`grid` opens on tiles, `table` on the list view. As with the form extension, this sets the initial view; the reader can switch afterwards from the gallery toolbar.

## Limitations

The widget cannot be exported to PDF — a page containing it renders a message in place of the gallery in the exported file. See [Adding the Widget](/mediakit/guides/adding-the-widget).

## Related

<Columns cols={2}>
  <Card title="Adding the Widget" icon="table-cells" href="/mediakit/guides/adding-the-widget">
    Place the widget on a rich page.
  </Card>

  <Card title="Form Extension" icon="table-list" href="/mediakit/reference/form-extension">
    The equivalent settings for a work item form.
  </Card>
</Columns>

<LastReviewed date="2026-09-03" />
