> ## 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.

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

## 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](https://learn.nextedy.com/mediakit/guides/adding-the-widget.md).

## Related

> [card] [Adding the Widget](https://learn.nextedy.com/mediakit/guides/adding-the-widget.md)
>
> Place the widget on a rich page.

> [card] [Form Extension](https://learn.nextedy.com/mediakit/reference/form-extension.md)
>
> The equivalent settings for a work item form.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.