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

# Adding the Widget

> Place the Nextedy MEDIAKIT Upload widget on a Polarion rich page and point it at a work item.

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 puts the same gallery on a rich page instead of a work item form. Use it when a dashboard or overview page should surface one work item's media directly, without the reader navigating to the item.

## Prerequisites

* Mediakit installed on your Polarion server — see [Installation](/mediakit/getting-started/installation)
* A rich page you can edit
* The ID of the work item whose files the widget should show

## Add the Widget

<Steps>
  <Step title="Edit the rich page">
    Open the rich page and put it into edit mode.
  </Step>

  <Step title="Insert the widget">
    Add the **Mediakit Upload** widget from the widget picker. It is published under the **Nextedy** tag, alongside the other Nextedy widgets.
  </Step>

  <Step title="Point it at a work item">
    Set the **Work Item ID** parameter to the work item whose attachments the gallery should show.
  </Step>

  <Step title="Adjust the presentation">
    Optionally set **Height** and **Mode** to control how tall the gallery is and which view it opens in — `grid` for tiles, `table` for the list view. See [Widget Parameters](/mediakit/reference/widget-parameters) for accepted values and defaults.
  </Step>

  <Step title="Save the page">
    Save the rich page. The gallery renders in place, showing that work item's files.
  </Step>
</Steps>

## What the Widget Shares With the Form Gallery

The widget is the same gallery, so uploading, viewing, downloading and deleting all behave as they do on a work item form, and act on the same attachments. The guides for those tasks apply unchanged.

## Limitations

<Warning>
  **The widget cannot be exported to PDF.**

  Exporting a rich page that contains the Mediakit Upload widget to PDF does not render the gallery — the export shows a message in its place instead. If a page needs to be exported to PDF, keep the widget off it, or accept that the gallery will be absent from the exported file.
</Warning>

## Related

<Columns cols={2}>
  <Card title="Widget Parameters" icon="sliders" href="/mediakit/reference/widget-parameters">
    Every parameter the widget accepts, with defaults.
  </Card>

  <Card title="Uploading Files" icon="upload" href="/mediakit/guides/uploading-files">
    Add files through the gallery.
  </Card>
</Columns>

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