# Can UXP be used to add a media asset and its proxy to a Premier pro project file?

**URL:** <https://forums.creativeclouddeveloper.com/t/can-uxp-be-used-to-add-a-media-asset-and-its-proxy-to-a-premier-pro-project-file/11815>\
**Category:** Premiere Pro\
**Created:** [April 1, 2026, 2:48pm UTC](https://forums.creativeclouddeveloper.com/t/can-uxp-be-used-to-add-a-media-asset-and-its-proxy-to-a-premier-pro-project-file/11815 "2026-04-01T14:48:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoxerMark](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@BoxerMark](https://forums.creativeclouddeveloper.com/u/BoxerMark)\
**Post date:** [April 1, 2026, 2:48pm UTC](https://forums.creativeclouddeveloper.com/t/can-uxp-be-used-to-add-a-media-asset-and-its-proxy-to-a-premier-pro-project-file/11815/1 "2026-04-01T14:48:01Z")

</div>

I’m working on a project where a customer wants to use Vantage to ingest camera files and create a proxy file to be then added to a Premiere Pro project file. I’d been looking at using UXP to do and I can add a media file to a project but only to the top root bin and not to a sub bin like “Rushes”

Looks like proxy attachment cannot be automated. Adobe’s Premiere 26 UXP API does not expose  
a way to get a clip reference after importFiles() - the method returns only a  
boolean. Without a ClipProjectItem reference, attachProxy() cannot be called.

The follwoing have been noticed.

- importFiles() returns boolean only, no clip reference
- ClipProjectItem.findItemsMatchingMediaPath() exists as an instance method  
but there is no way to obtain a ClipProjectItem instance after import
- BinProjectItem.getItems() does not exist - only RootProjectItem has it  
meaning nested bins cannot be traversed

---

<div class="post-metadata">

**Author:** ![bbb\_999](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/bbb_999/32/4247_2.png) [@bbb\_999](https://forums.creativeclouddeveloper.com/u/bbb_999)\
**Post date:** [April 2, 2026, 1:32pm UTC](https://forums.creativeclouddeveloper.com/t/can-uxp-be-used-to-add-a-media-asset-and-its-proxy-to-a-premier-pro-project-file/11815/2 "2026-04-02T13:32:56Z")

</div>

> I can add a media file to a project but only to the top root bin and not to a sub bin like “Rushes”

Not so; [importFiles()](https://github.com/AdobeDocs/uxp-premiere-pro-samples/blob/5fd3db5b8c450afb9c2099fdaa3aa75a6f625982/sample-panels/premiere-api/html/src/import.ts#L24) takes a target bin (projectItem) parameter. And yes, it returns a boolean, not projectItems. findItemsMatchingMediaPath() is a fine approach.

> Looks like proxy attachment cannot be automated.

Not so; the sample [demonstrates this](https://github.com/AdobeDocs/uxp-premiere-pro-samples/blob/5fd3db5b8c450afb9c2099fdaa3aa75a6f625982/sample-panels/premiere-api/html/src/projectPanel.ts#L440).

> …nested bins cannot be traversed

Not so; the sample [demonstrates this](https://github.com/AdobeDocs/uxp-premiere-pro-samples/blob/5fd3db5b8c450afb9c2099fdaa3aa75a6f625982/sample-panels/premiere-api/html/src/projectPanel.ts#L55).

---

<div class="post-metadata">

**Author:** ![PlanarFlow](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/planarflow/32/4852_2.png) [@PlanarFlow](https://forums.creativeclouddeveloper.com/u/PlanarFlow)\
**Post date:** [April 2, 2026, 5:12pm UTC](https://forums.creativeclouddeveloper.com/t/can-uxp-be-used-to-add-a-media-asset-and-its-proxy-to-a-premier-pro-project-file/11815/3 "2026-04-02T17:12:33Z")

</div>

To add to bbb’s reply, if you are importing the same file multiple times, and thus findItemsMatchingMediaPath() wont work for you, you can use a diff technique where you look at all the ProjectItems before/after your imports to keep track of which ProjectItem is which. We use this technique and it is reliable.
