getting Metadata from schema not in XMPConst?

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

PhotoSpot_scripter

getting Metadata from schema not in XMPConst?

Post by PhotoSpot_scripter »

Hi there PS-Scripters,
I'm stuck on a JavaScript XMP API problem...
I've been asked to edit a metadata field that is entered via a custom panel with a unique schema. (xmlns:xwnv="http://ns.xinet.com/ns/xinetschema#">) Through the forum here I've found some great scripts that have helped me to read and write metadata namespaces to all kinds of default locations. (Thanks guys!) But they have always been included in that handy list of JavaScript XMP API schema namespace string constants. ... What do I do if is not on that list? Any suggestions?

Maybe export XMP rawData to some TXT editable format, search and replace, and then load back in?
Can I somehow load that custom schema via the Bridge SDK ?
Has anyone else ran into this problem?

Thanks!

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

Paul MR

getting Metadata from schema not in XMPConst?

Post by Paul MR »

If you look at SnpModifyMetadata.jsx from the Bridge SDK it explains how it's done.
There are a couple of example using custom metadata...
bb/viewtopic.php?f=10&t=4618

bb/viewtopic.php?f=10&t=4617
PhotoSpot_scripter

getting Metadata from schema not in XMPConst?

Post by PhotoSpot_scripter »

Thankyou so much Paul! I'll look at that example.
I gotten so many tricks via your suggestions and samples in this forum. You're a superstar!