# Multiple picker contexts

**URL:** <https://forum.umbraco.com/t/multiple-picker-contexts/7083>\
**Category:** Questions\
**Tags:** extending, packages, v16\
**Created:** [December 29, 2025, 12:54pm UTC](https://forum.umbraco.com/t/multiple-picker-contexts/7083 "2025-12-29T12:54:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjarnef](https://forum.umbraco.com/user_avatar/forum.umbraco.com/bjarnef/32/410_2.png) [@bjarnef](https://forum.umbraco.com/u/bjarnef)\
**Post date:** [December 29, 2025, 12:54pm UTC](https://forum.umbraco.com/t/multiple-picker-contexts/7083/1 "2025-12-29T12:54:31Z")

</div>

I am looking into using static file picker as alternative to a selected media for my image hotspots package: [Umbraco Community Hotspots | Umbraco Marketplace](https://marketplace.umbraco.com/package/umbraco.community.hotspots)

 ![image](https://forum.umbraco.com/uploads/default/original/2X/f/fd8144b3909d076ea0a3a4af682b2495534fd999.png)

I can re-use `umb-input-static-file` component, but I want it to align with media picker and also show preview of selected file instead or just entity/file name.

I looked at core and found picker contexts used in core for both static file picker and media picker:

> <https://github.com/umbraco/Umbraco-CMS/blob/cbde6af9c0a2c5028c427143e6a554f30ecbd776/src/Umbraco.Web.UI.Client/src/packages/static-file/components/input-static-file/input-static-file.element.ts#L88>

It works when I only use one of them, but if I have both within same component, only the last one works:

```TS
#pickerFileInputContext = new UmbStaticFilePickerInputContext(this);
#pickerInputContext = new UmbMediaPickerInputContext(this);

```

I guess it is intended only one can be use within the a component? In this case I can probably open the modals and custom `UMB_MODAL_MANAGER_CONTEXT` instead:

> <https://github.com/umbraco/Umbraco-CMS/blob/cbde6af9c0a2c5028c427143e6a554f30ecbd776/src/Umbraco.Web.UI.Client/src/packages/static-file/modals/static-file-picker-modal.token.ts>
