Skip to main content
Inspiring
June 29, 2017
Answered

Uniquely identify project item

  • June 29, 2017
  • 1 reply
  • 1552 views

Hello All,

Is there any way to uniquely identify each project item (e.g. by some Id) in premiere pro? We can't take project item name because premiere pro supports duplicate name.

Premiere Pro Version: 9.0.0
Extension Type: Panel


Thanks & Regards,
Meet Tank

Correct answer Bruce Bullis

meett9325076​ Would the ProjectItem.nodeId help you out here? There's currently no documentation available for it but perhaps it's what you're looking for? Bruce Bullis​, any insight into what the nodeId property is for ProjectItems?

Also, is the metadata you posted what you get when you use the ProjectItem.getXMPMetadata() call? Or is it from something else?


nodeID refers to the projectItem's position within the project 'tree'; not guaranteed to be unique, forever.

We're making improvements around uniquely ID'ing project items, for our Next Major Release™.

1 reply

Inspiring
June 29, 2017

Hi Meet,

what you want is the UUID of a file, and if remember correctly, this is available as the xmpMM:InstanceID in each projectItem's metadata.

See https://www.adobe.com/content/dam/Adobe/en/devnet/xmp/pdfs/XMPSpecificationPart1.pdf , page 36.

Best,

e.d.

Inspiring
June 29, 2017

Hi e.d.

Thank you for your quick reply. It would be very handy if we could expose this id to projectItem object in app.project so that we don't need to read the xmp metadata xml.

Thanks,

Meet