Skip navigation
gongi982
Currently Being Moderated

CreatorContactInfo struct in Generic File Info Panels

Apr 20, 2010 9:22 AM

Hi all,

I developed a custom panel with custom metadata in Adobe Bridge CS4, using the Generic File Info Panels.

In this panel, I have to include custom metadata and the IPTC Contact metadata.

No problem with custom metadata, I have a problem with IPTC Contact:

 

If I insert value in the IPTC Panel provided by Adobe, I see that metadata is written in this way:

 

<Iptc4xmpCore:CreatorContactInfo
    Iptc4xmpCore:CiAdrExtadr="value"
    Iptc4xmpCore:CiAdrCity="value"
    Iptc4xmpCore:CiAdrRegion="value"
    Iptc4xmpCore:CiAdrPcode="value"
    Iptc4xmpCore:CiAdrCtry="value"
    Iptc4xmpCore:CiTelWork="value"
    Iptc4xmpCore:CiEmailWork="value"
    Iptc4xmpCore:CiUrlWork="value"/>

 

If I insert values in my custom metadata I haven't CreatorContactInfo structure:

 

<rdf:Description rdf:about=""xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" 
Iptc4xmpCore:CiAdrExtadr="value" Iptc4xmpCore:CiAdrCity="value" Iptc4xmpCore:CiAdrRegion="value" 
Iptc4xmpCore:CiAdrPcode="value" Iptc4xmpCore:CiAdrCtry="value" Iptc4xmpCore:CiTelWork="value" 
Iptc4xmpCore:CiEmailWork="value" Iptc4xmpCore:CiUrlWork="value" 
xap:MetadataDate="2010-04-20T09:07:47+02:00">
 <tiff:BitsPerSample> <rdf:Seq> <rdf:li>8</rdf:li> <rdf:li>8</rdf:li> <rdf:li>8</rdf:li> </rdf:Seq>
 </tiff:BitsPerSample> </rdf:Description>

 

Is there a way to reproduce the orginal (and standard) structure??

 

There is my custom properties.xml (only the IPTC rows):

 

<xmp_schema prefix="Iptc4xmpCore" namespace="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" label="$$$/Custom/IPTC Contact=IPTC Contact" >
     <xmp_property name="CreatorContactInfo:CiAdrExtadr" category="external" label="$$$/Custom/Property/Address=Address:" type="text"/>
     <xmp_property name="CreatorContactInfo:CiAdrCity" category="external" label="$$$/Custom/Property/City=City:" type="text"/>
     <xmp_property name="CiAdrRegion" category="external" label="$$$/Custom/Property/State/Province=State/Province:" type="text"/>
     <xmp_property name="CiAdrPcode" category="external" label="$$$/Custom/Property/Postal Code=Postal Code:" type="text"/>
     <xmp_property name="CiAdrCtry" category="external" label="$$$/Custom/Property/Country=Country:" type="text"/>
     <xmp_property name="CiTelWork" category="external" label="$$$/Custom/Property/Phone=Phone:" type="text"/>
     <xmp_property name="CiEmailWork" category="external" label="$$$/Custom/Property/Email=Email:" type="text"/>
     <xmp_property name="CiUrlWork" category="external" label="$$$/Custom/Property/Website=Website:" type="text"/>
     <ui:separator/>
          </xmp_schema>

 
Replies
  • Currently Being Moderated
    Apr 21, 2010 3:55 PM   in reply to gongi982

    Edited reply:

    Try:

     

    name="CreatorContactInfo/Iptc4xmpCore:CiAdrExtadr"

    name="CreatorContactInfo/Iptc4xmpCore:CiAdrCity"

    name="CreatorContactInfo/Iptc4xmpCore:CiAdrRegion"

    name="CreatorContactInfo/Iptc4xmpCore:CiAdrPcode"

    name="CreatorContactInfo/Iptc4xmpCore:CiAdrCtry"

    name="CreatorContactInfo/Iptc4xmpCore:CiTelWork"

    name="CreatorContactInfo/Iptc4xmpCore:CiEmailWork"

    name="CreatorContactInfo/Iptc4xmpCore:CiUrlWork"

     

    Carl

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points