Enter Dublin Core XMP in Bridge metadata window

Someone in the general discussion area suggested I cross-post this question here:
I'm trying to find the best way to add some Dublin Core into TIFF files. Basically I'd like to add data to the dc:identifier and dc:relation fields while I'm adding other data in Bridge.  Is there a way to create a tab for Dublin Core in the metadata window?
Currently we're using Bridge and IPTC core was working okay, but now we need to add some metadata that would fit better in Dublin Core.  I know it has a namespace in XMP, but can't figure out a way to use Bridge or Photoshop to enter it.
I have tried to adapt a script created by Paul Riggott in this thread, but have been unable to make it work.
I also tried the "add identifier" script in this thread, but I'm not seeing how it works... probably because it was written for the Mac and I'm working in Windows. Any suggestions?
Thanks.

Sorry, I should probably include the code as I amended it:
// ADOBE SYSTEMS INCORPORATED
// Copyright 2008 Adobe Systems Incorporated
// All Rights Reserved
// NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance with the
// terms of the Adobe license agreement accompanying it.  If you have received this file from a
// source other than Adobe, then your use, modification, or distribution of it requires the prior
// written permission of Adobe.
@fileoverview Shows how to create a TabbedPalette in Bridge with ScriptUI components.
@class Shows how to create a TabbedPalette in Bridge with ScriptUI components.
<h4>Usage</h4>
<ol>
<li>    Run the snippet in the ExtendScript Toolkit (see Readme.txt), with Bridge CS4 as the target.
<li>You should find that a tabbed palette has been added to the Bridge browser window.
</ol>
<h4>Description</h4>
<p>Adds a script-defined tabbed palette to the Bridge browser window. 
<p>The palette is of the "script" type, and contains ScriptUI components,
text fields and buttons. The buttons have event handlers that
change the values in the text fields.
<p>The new palette appears in the default upper-left position in the browser. It can be
  dragged to other positions. <br />
@see SnpCreateWebTabbedPalette
@constructor Constructor.
function SnpCreateTabbedPaletteScriptUI()
     The context in which this snippet can run.
     @type String
    this.requiredContext = "\tExecute against Bridge main engine.\nBridge must not be running";
    $.level = 1; // Debugging level
    this.paletteRefs = null;
Functional part of this snippet. 
Creates the TabbedPalette object, defining the content with
ScriptUI components, and adds the palette to all open Bridge browser windows.
    @return True if the snippet ran as expected, false otherwise. 
    @type Boolean
SnpCreateTabbedPaletteScriptUI.prototype.run = function()
    var retval = true;
    if(!this.canRun())
        retval = false;   
        return retval;
    this.paletteRefs = new Array();
    var wrapper = this;
    // Create and add the TabbedPalette object and its contents.
    function addScriptPalette(doc)
        // Create the TabbedPalette object, of type "script"
        var scriptPalette = new TabbedPalette( doc, "SnpCreateTabbedPaletteScriptUI", "SnpSUIPalette", "script" );
        wrapper.paletteRefs.push(scriptPalette);   
        // Create a ScriptUI panel to be displayed as the tab contents.
        var tbPanel = scriptPalette.content.add('panel', [25,15,255,130], 'The Panel');
        // Add the UI components to the ScriptUI panel
        tbPanel.txtFieldLbl = tbPanel.add('statictext', [15,15,105,35], 'Times Clicked:');
        tbPanel.txtField = tbPanel.add('edittext', [115,15,215,35], '0');
        tbPanel.addBtn = tbPanel.add('button', [15,65,105,85], 'Add');
        tbPanel.subBtn = tbPanel.add('button', [120, 65, 210, 85], "Sub");
        // Define event listeners that implement behavior for the UI components
        tbPanel.addBtn.onClick = function()
// This only works on bridge!!
loadXMPLib();
// Here put the namepace and the prefix (you can create also your own new namespace and prefix)
// In this case, it uses the Dublin Core Properties
var psNamespace = "http://purl.org/dc/elements/1.1/";
var psPrefix = "dc:";
XMPMeta.registerNamespace(psNamespace, psPrefix);
// Here you have to choose 1, 2, or multiple thumbnails. In this case it chooses all tiff files found on content pane.
var sels = app.document.visibleThumbnails;
for (var b in sels) {
    // Here I choose tif files, but you can set (cr2|raw|dng|nef/jpg) for raw and jpg files leave it empty for any file except folders
    if (sels[b].spec instanceof File && sels[b].name.match(/\.(cr2|raw|dng|nef)$/i)) {
        var xmp = new XMPMeta(sels[b].synchronousMetadata.serialize());      
        // I can create new Properties in Dublin Core and add values to them
        xmp.setProperty(psNamespace, "MyProp01", 'some text here');
        xmp.setProperty(psNamespace, "MyProp02", 'false');
        xmp.setProperty(psNamespace, "MyProp03", '32895665');
        xmp.setProperty(psNamespace, "MyProp04", 'label2');
        // Or, you can use the DublinCore native properties.
        // In this case, I want to ADD some text to 'Descrition' existing text ('Description is a 'langAlt' property)
        // First, I read any Descrition value and add it to a var
        var Description =  xmp.getArrayItem(XMPConst.NS_DC, "description",1);
        // Then I add may new tex to that existing value:
        // (I wanted to put the return '\r' (or new line '\n') to add new paragraphs in the middle of text: "\rline2\rline3")
        xmp.setLocalizedText(XMPConst.NS_DC, "description", null, "x-default", Description + "\rlinha2\nlinha3");
        // If you want to delete any existing value and create new value directly use this instead:
        // xmp.setLocalizedText(XMPConst.NS_DC, "description", null, "x-default", "Nota");
        var updatedPacket = xmp.serialize(XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
        sels[b].metadata = new Metadata(updatedPacket);
unloadXMPLib();
// Functions needed:
function loadXMPLib() {
    if( xmpLib == undefined ) {
          if( Folder.fs == "Windows" ) {
              var pathToLib = Folder.startup.fsName + "/AdobeXMPScript.dll";
          } else {
              var pathToLib = Folder.startup.fsName + "/AdobeXMPScript.framework";
          var libfile = new File( pathToLib );
          var xmpLib = new ExternalObject("lib:" + pathToLib );
function unloadXMPLib() {
    if ( ExternalObject.AdobeXMPScript ) {
        try {
            ExternalObject.AdobeXMPScript.unload();
            ExternalObject.AdobeXMPScript = undefined;
        }catch (e) { }
        tbPanel.subBtn.onClick = function()
            var txt = tbPanel.txtField;
            txt.text = parseInt(txt.text) - 1;
    // Add the palette to all open Bridge browser windows
    for(var i = 0;i < app.documents.length;i++)
        addScriptPalette(app.documents[i]);
    return retval;
  Determines whether snippet can be run given current context.  The snippet
  fails if these preconditions are not met:
  <ul>
  <li> Must be running in Bridge
  </ul>
  @return True is this snippet can run, false otherwise
  @type boolean
SnpCreateTabbedPaletteScriptUI.prototype.canRun = function()
    // Must run in Bridge
    if(BridgeTalk.appName == "bridge")
        return true;       
    // Fail if these preconditions are not met. 
    // Bridge must be running,
    $.writeln("ERROR:: Cannot run SnpCreateTabbedPaletteScriptUI");
    $.writeln(this.requiredContext);
    return false;
"main program": construct an anonymous instance and run it
  as long as we are not unit-testing this snippet.
if(typeof(SnpCreateTabbedPaletteScriptUI_unitTest) == "undefined") {
    new SnpCreateTabbedPaletteScriptUI().run();

Similar Messages

  • Dublin Core XMP is not stamped

    For some reason Dublin Core XMP is not stamped to this image unless you open this image in Photoshop, re-save it and then it begins to work. Apparently, Photoshop corrects something in this image file but I am not sure what that is at this point.  Any information you can share about possible causes and solutions would be extremely helpful.

    For some reason Dublin Core XMP is not stamped to this image unless you open this image in Photoshop, re-save it and then it begins to work. Apparently, Photoshop corrects something in this image file but I am not sure what that is at this point.  Any information you can share about possible causes and solutions would be extremely helpful.

  • Using IPTC/Dublin Core information

    Hi!
    I am in process of building a slideshow with Encore, my pictures have description information, wich can be seen in the Dublin Core section of the metadata.
    Is it a way to get them ii the slideshow, with out retyping them.
    Thanks
    Edgar

    Strange? No. Metadata interchange with content is not common. But becoming more so? Certainly the presence of metadata is growing by leaps and bounds, and I suspect we would all like to see access to it.
    But submitting a feature request is the current status of this. I just submitted one for this!
    I would be surprised is there is not a free tool out there somewhere that will extract such info to a text file, but I have not researched. Let us know if you find one.

  • Adding Dublin Core metadata to the XMP namespace in Bridge CS5

    I have tried to adapt a script created by Paul Riggott in another thread/discussion, but have been unable to make it work.
    Basically I'd like to add data to the dc:identifier and dc:relation fields while I'm adding other data in Bridge.  Is there a way to create a tab for Dublin Core in the metadata window?
    I also tried the "add identifier" script in this thread/discussion, but I'm not seeing how it works... probably because it was written for the Mac and I'm working in Windows.
    Any suggestions? Thanks.

    You might try the scripting forum at http://forums.adobe.com/community/bridge/bridge_scripting?view=discussions

  • Updating XMP Dublin Core using Adobe Acrobat 5.0?

    I am very interested in using XMP to better describe my documents; I've also read that Adobe Acrobat 5.0 supports XMP. As such, how would I go about modifying the values of the Dublin Core properties using Acrobat 5.0?

    Dublin Core is a standard schema with set properties and associated values. There's a bunch of them including Graphics, Basic (xap), Media Management, and so on. They're described by a unique name(space) called a URI and not meant to be messed with, otherwise they would not be standards. In order to do what you want today you have to create your own schema namespace, properties associated with it, and values associated with the properties. In order to get them integrated into Acrobat, or any application, you have to build a plug-in that reads and writes the metadata to the pdf or eps output files.

  • Why is My MetaData Window of Bridge CS6 Displaying Incorrect File info?

    The File Properties tab in the MetaData Window of Bridge CS6 is saying that my file is 72 ppi but when I open my file in PS it is actually 300 ppi 15x10 inches. See screen grab below. I understand that 72 ppi at 125" x 41.7" is the same as a 300 ppi file that is 30" x 10" or 9000 x 3000 pixels dimensions. But why is bridge making this conversion and displaying the file resolution as being 72 ppi when the file is 300 ppi? Is there a preference setting somewhere that I need to change?
    When I look at these same files from another networked machine using Bridge CS6 the Metadata window is showing the files as being 300 ppi? Is there a setting inside Bridge somewhere that is making it show all files in the Metadata window as being based upon a 72 ppi resolution?

    jonnymo,
    I believe I should have said Yosemite/Column view.
    Has the issue appeared after an upgrade to Yosemite?

  • Problems with Custom File Info Panel and Dublin Core

    I'm creating a custom file info panel that uses the values of the dublin core description and keywords (subject) for two of it's own fields.  I'm having problems with the panel saving if they enter the description on the custom panel first, and with the keywords not echoing each other, or reappearing after a save.<br /><br />Here is the code for the panel<br /><br /><?xml version="1.0"><br /><!DOCTYPE panel SYSTEM "http://ns.adobe.com/custompanels/1.0"><br /><panel title="$$$/matthew/FBPanelName=Testing for Matthew" version="1" type="custom_panel"><br />     group(placement: place_column, spacing:gSpace, horizontal: align_fill, vertical: align_top)<br />     {<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/keywords = Keywords', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/keywordsFB = Keywords', locked: false, height: 60, v_scroller: true, horizontal: align_fill, xmp_ns_prefix: 'dc', xmp_namespace: <br />'http://purl.org/dc/elements/1.1/', xmp_path: 'subject');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/description = Description', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/descriptionFB = Description', locked: false, height: 60, v_scroller: true, horizontal: align_fill, xmp_ns_prefix: 'dc', xmp_namespace: <br />'http://purl.org/dc/elements/1.1/', xmp_path: 'description');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/season = Season', font: font_big_right, vertical: align_center);<br />               popup(fbname: '$$$/matthew/seasonFB = Season', items: '$$$/matthew/Season/Items={};option 3{option 3};option 2{option 2};option 1{option 1}', xmp_namespace:'http://monkeys.com/demo/testingmatthew/namespace/', xmp_ns_prefix:'matthew', xmp_path:'season');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/ltf = Limited Text Field', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/ltf = Limited Text Field', locked: false, horizontal: align_fill, xmp_namespace:'http://monkeys.com/demo/testingmatthew/namespace/ ', <br />xmp_ns_prefix:'matthew', xmp_path:'ltf');<br />          }<br />     }<br /></panel><br /><br />Thanks for the help

    To answer my own question:
    The documentation really sucks.
    I found this reply from Adobe <http://forums.adobe.com/message/2540890#2540890>
    usually we recommend to install custom panels into the "user" location at:
    WINDOWS XP: C:\Documents and Settings\username\Application Data\Adobe\XMP\Custom File Info Panels\2.0\panels\
    WINDOWS VISTA: C\Users\username\AppData\Roaming\Adobe\XMP\Custom File Info Panels\2.0\panels\
    MAC OS: /user/username/Application Data/Adobe/XMP/Custom File Info Panels/2.0/panels/
    The reason why your panels did not work properly was a missing Flash trust file for that user location. Without such a trust file the embedded flash player refuses to "play" your custom panel.
    Please see section "Trust files for custom panels" in the XMPFileInfo SDK Programmer's Guide on page 50 for all details on how to create such trust files.
    After many wasted hours I have now the simple panels running.
    Cheers,
    H.Sup

  • Aperture Metadata and Bridge Metadata

    I am a photographer and my workflow is to import all my images into Aperture library and add metadata.
    When exporting an image is it possible to integrate Apertures metadata with Bridge metadata? This is important feature as most people do not import images with Aperture. The issue is that many of the field names are different or non existent between the two programs. For example Location field in Bridge is Sub location in Aperture.
    Can you add fields such contact info such as URL, email that are included within Bridge ITPC Metadata?
    Is there a way to customize the metadata fields to work with CS3?

    Unfortunatelly, not really.
    I am currently using Nikon Transfer (latest version) to download the pictures from the camera. This software allows me to enter quite a number of IPTC data (including contact information, url, mail, phone, etc.), but maybe not all which are available in CS3.
    Then I do import the pictures from the folder into Aperture where I only add contact information in the respective IPTC field. From the tests, I did I do know, that with this step I am using the "old IPTC standard" with Aperture and the new IPTC standard with Nikon Transfer. Clearly the newer is better and meets the needs you described.
    In Aperture, I do only see the IPTC data fields, which are common between the two standards (copyright, keywords and description).
    When I go to CS3 Bridge, I can see the IPTC data from both, but only of you turn on the "IPTC old" in the Photoshop Bridge settings.
    This is how far I have come. I have tested the export with the original and the aperture work copy. As a test reader/viewer of the pics I used Photoshop Elements 5.0 ... but except the copyright information, key words and description, I could not find "my" IPTC data. So there was no contact info. This may be a problem of the old version, so I also checked on a windows PC the file properties (picture viewer), which has more or less the same information.
    So the only work around maybe to add contact information into the copyright field - which is not ideal.
    Regards
    Diethard

  • I am trying to find a program called XMP for putting metadata in pictures. Any ideas?

    I am trying to find a program called XMP for putting metadata in pictures. Any ideas?

    You can either enter metadata in bridge in the bridge metadata panel, or in Photoshop by selecting the file>File Info...

  • Custom Info Panel as Bridge MetaData Panel

    Hello,
    I have built a Custom XMP InfoPanel that shows up in CS6 Bridge just fine! But for ease of data entry we want it to show up in the Bridge MetaData panel. How is this done with the latest best practices?
    I have looked everywhere found a number of ways, but ALL are out dated! The XMP FileInfo SDK doesnt cover this.
    Thank you
    Dean Krueger

    Hi Science_DC,
        You are missing the zstring in your label or description and the same issue is with properties too. For testing i changed only two properties but you need to do the smae for others too.  I tested after using the ZString and it's working fine in Bridge too. Please find the original and modfied code (only for two properties)
    1. Your original properties.xml is
    <xmp_schema prefix="custom" namespace="http://my.custom.namespace/" label="<Your label>" description="<Your Panel Description>">
            <!-- simple properties -->
            <xmp_property name="Text" category="external" label="<Property Name>" type="text"/>
            <xmp_property name="Text2" category="external" label="<Property Name>" type="text"/>
    </xmp_schema>
    Insert the ZString like below (inserted text are in bold)
    <xmp_schema prefix="custom" namespace="http://my.custom.namespace/" label="$$$/Custom/Panel/Label=<Your label>" description="$$$/Custom/Panel/Description=<Your Panel Description>">
            <!-- simple properties -->
            <xmp_property name="Text" category="external" label="$$$/Custom/Panel/Property1 Name=<Property1 Name>" type="text"/>
            <xmp_property name="Text2" category="external" label="$$$/Custom/Panel/Property2 Name=<Property2 Name>" type="text"/>
    </xmp_schema>
    2. Put that propery file in Custom File Info Panels/4.0/panels (at the same place where DCIM.xml and mobile.xml is)
    Following is the screen shot which I got after ZString insertion (CS6 Bridge)
    If it doesn't work, could we do remote desktop?
    -Sunil

  • Bridge, metadata pop-up over thumbnails

    I am running the latest version of Bridge CC with Photoshop CC, Apple Mac Pro, OS X Yosemite v10.10.3. When browsing thumbnails in Bridge, if you put the curser over a thumbnail the metadata appears over the image in a pop-up window.  I find these really distracting - is there a way to turn off that function?  Thanks.  Mark Weidman

    I figured out how to turn off the metadata window - in Preferences, Thumbnails, de-select "Show Tool tips".  Mark Weidman

  • Zeiss Otus 1.4/85 ZE not listed in Bridge metadata

    The latest release of Camera Raw 8.7 states that the Zeiss Otus 1.4/85 ZE is supported. Whilst in Camera Raw it is listed in the Lens Correction Tab, in Bridge the lens is just described as 85mm in the Metadata section. I also have the Zeiss Otus 1.4/55 ZE lens and this is correctly described in Bridge metadata.
    Any ideas why this is would be appreciated - whilst not really an issue it would be nice to have the accurate metadata listed.
    I'm running Windows 7 x 64 Pro.
    Thanks

    Hello,
    There are no files like that in that folder (com.apple.safari).  They all have long numbers with .jpeg or .png at the end.  That's what I meant by I cannot find any files like those mentioned in all the helps I read today.  BTW-it's still crashing - no particular pattern to it at all.
    The only two things I have downloaded recently is a new version of Flash and a Mac-driven update to Office.
    Thank you very much for your attempt to help us.
    J.

  • Bridge CS3 (Windows XP) fails to start because Symlib.dll was not found

    Bridge CS3 (Windows XP) fails to start because Symlib.dll was not found? How do I fix this? I've re-installed and the auto updater has run...I even downloaded and ran the patcher application? By the way Bridge CS3 doesn't show up in the CS3 program list in the start menu but it is installed in my program files - I've tried launching it directly from there as well. Bridge CS2 is operating just fine.
    Update: I installed and ran the Adobe Support Advisor, resulting in - Issues: "The module found no solutions to report for the selected log file."
    I tried to package the report and the error read: "The size of the package is too large to be handled with the current configuration! Please contact Adobe Support for additional information."
    I opened a web based report/case number at the Adobe Support Portal about the missing Symlib.dll (including the Adobe Support Advisor error). Their response was: We regret to inform you that complimentary support for your product is not available and/or has expired.

    Did Bridge work before? If so, reset preferences by holding down the Ctrl key when starting Bridge. If successful you will get a Reset Window, choose all 3 options.

  • All that comes up when I open Firefox are my toolbars and a place to enter a URL, but there is no window. I have to enter full screen mode to view websites.

    Something happened with Firefox where all that comes up when I open Firefox are my toolbars and a place to enter a URL, but there is no window. I have to enter full screen mode to view websites. How do I get back to a regular browsing window? I have no idea how this even happened.

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Can't open INDD files from Bridge or Windows Explorer

    I upgraded from CS2 to CS4 in Jan 2009, but didn't uninstall CS2 until yesterday because the program file sizes seemed weird: CS4 was listed as less than 6Mb in the Add/Remove Programs list, while CS2 was shown to be many times that size (gigabytes?). I called support within the first month and was told it would be okay to uninstall CS2, but the tech could not explain the difference in program sizes, so I left it in place until yesterday. Now, neither Bridge nor Windows Explorer recognizes InDesign files. I can still launch the program from the Start menu and Desktop shortcut, and I can open files from within the program. But Bridge says the default  for opening an INDD file is Acrobat...or Photoshop, Firefox or IE. Windows says the same. The INDD icon is no longer displayed in Windows Explorer either. It seems to have vanished from my system. I have tried to re-associate InDesign files with the program through Windows Explorer numerous times to no avail. Operating System: Windows XP Professional on a Dell GX270.
    Is the only solution here to uninstall & reinstall InDesign? Any comments or suggestions are appreciated.

    Hi,
    I'm having the same problem, with two exceptions:
    1. A previous version of InDesign has never been installed on this PC before we got CS4.
    2. It tries to open the files in Acrobat (7.0), and then this message pops up:
    Acrobat could not open "....INDD" because it is either not a supported file type or because it has been damaged...  To create a PDF document go to the ...
    This is incredibly frustrating.  The only way I can open files is to go through the InDesign "open file" command inside the program.  I cannot open any Bridge files at all (same problem, opens in Acrobat).
    I cannot chose the file type from the file association list as it does not show up on the list no matter how many times I search and choose it from my drive to associate.
    ... Is this a registry problem, maybe?

Maybe you are looking for

  • A better way to refresh data

    Hey everyone, I'm creating a Flex/ColdFusion app. and I've been working with CFCs and RemoteObjects. I know that when you want to refresh data you have to call the CFC with the RemoteObject every time (after the creationComplete is called I use added

  • Discovery using a GC Server or Specific DC

    I have seen references to syntax used to perform discovery against a specific DC or a Global Catalog Server. Those references all point to SCCM 2007. Is this still possible in SCCM 2012 R2? Also, the syntax is unclear. If you want to query a specific

  • ODI updates all rows even when no change exists

    We use database triggers to update the created_by, creation_date, last_updated_by, last_updated_date columns on the records. From looking at these columns I can tell that ODI is updating every target record with the save values that are already prese

  • MacBook Air 11" Battery Problem

    Just purchased the new MacBook Air 11" and only getting around 2 hours battery time as opposed to the 5 hours advertised. I've had it about 2 weeks now and thought the battery might increase over the coarse of time, my main concern is I've only being

  • Help with installing digital edition from the library

    Im at the library trying to install the digital edition installer and I get thru to the very end and it gives me an error...the library says its an abode error ..it says something about ...something expired...