2 Replies Latest reply on Apr 28, 2015 10:38 AM by gcoupe

    Clarification Requested: LR6 XMP Metadata Handling


      I use keyword hierarchies, and a DAM tool that supports the XMP LR hierarchy metadata structure, along with IPTC Core and Extension metadata.


      When I assign a keyword to an image, the keyword (in effect the end node of a keyword hierarchy) gets written to dc:subject, while the complete hierarchy is written out to XMP using the lr:HierarchicalSubject structure.


      So, for example, a photo tagged with the keyword "Christmas" will have a dc:subject entry of Christmas, while the LR entry, lr:HierarchicalSubject, will have Events|Holidays|Christmas.


      LR6 will import such photos into its catalog quite happily, and show the keyword "Christmas", and also know that this sits in a keyword hierarchy of Events|Holidays|Christmas.


      However, if I then tell LR6 to save metadata to a photo, it insists on writing out all the levels of the hierarchy as separate keywords into dc:subject, as well as preserving the lr:HierarchicalSubject entry. I don't see any way to turn off this behaviour, and unless I can do so, I cannot use LR6 to write out metadata...


      Is this indeed the expected behaviour, and there is no way to turn it off?

        • 1. Re: Clarification Requested: LR6 XMP Metadata Handling
          johnrellis Most Valuable Participant

          You can right-click Christmas in the Keyword List panel and turn off the option "Export Containing Keywords".  This will suppress the inclusion of Events and Events > Holidays in XMP:Subject and IPTC:Keywords, but still include Events|Holidays|Christmas in XMP:HierarchicalSubject.


          Unfortunately, there is no way to batch-edit all of your keywords to turn off Export Containing Keywords -- you have to go one at a time.  People have requested that ability for years in the official Adobe feedback forum, but Adobe hasn't responded.   And a minor bug in the LR Software Development Kit prevents plugins from providing the missing functionality.  People have posted recipes for using low-level database tools to modify the LR catalog, but that's obviously difficult and fragile.


          Alternatively, you could turn off the option "Include on Export" in the parent keywords Events and Holidays.   This will also suppress their inclusion in XMP:Subject and IPTC:Keywords.  But it will also suppress their inclusion in XMP:HierarchicalSubject -- you'll get Christmas rather than Events|Holidays|Christmas.  But you may find that a better compromise.

          • 2. Re: Clarification Requested: LR6 XMP Metadata Handling
            gcoupe Level 1

            Hmm. Thanks for the clarification, John. It looks as though the workarounds have their own limitations. I might just see what the result is of having LR throw all the extra levels of keywords into dc:subject. It might break something else in my workflow, but I'll give it a go. Thanks.