2 Replies Latest reply: Apr 22, 2010 1:33 AM by gongi982 RSS

    CreatorContactInfo struct in Generic File Info Panels

    gongi982 Community Member

      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>