I followed the instructions and managed to create my own XMP schema where I, among other things, intend to record which lens was used (my D80 doesn't seem to record this in the Nikon makernotes when I save as JPG although it does when the image is a NEF file). The definition looks like this:
I have (attempted to) limit the values so I get fixed strings for the various lenses. I did this by clicking on "Valid Values" and entering a list:
Then I added the fields to the image details screen and set up catalog labels for each of the lenses and mapped them to the new XMP field:
In the mapping, I had to tick the "ignore this label when generating keywords for XMP/IPTC, as otherwise I would get a keyword with the value of the catalog label.
Finally I assigned these new catalog labels to my images, exported to file (CTRL+SHIFT+F12) and uploaded to my website where I have a PHP script that extracts XMP information and populates the description of the image based on the fields. To my surprise, there is not any XMP block called "sunny" anywhere in the file. I can find references to the catalog label in ics:LabelName, but I assume this is where IDimager stores its own internal stuff:
I have double checked this finding using exiftool, and my newly defined XMP attributes are really not in the file.
I have checked that when I assing the "lens label" to a photo, the corresponding value is shown in the image details screen. So it seems that the mapping between labels and XMP works fine, the only problem is that the XMP isn't being output when I synch the file.
Any hints as to what I might have done incorrectly?