How to avoid overwriting IPTC data when using XMP inject?

Post Reply
Ulrik
Member
Posts: 21
Joined: Wed Dec 05, 2018 7:53 pm

How to avoid overwriting IPTC data when using XMP inject?

Post by Ulrik »

Hi,
How to avoid overwriting IPTC data when using XMP inject?

Screen Shot 2019-02-11 at 21.31.53.png
Screen Shot 2019-02-11 at 21.31.53.png (190.75 KiB) Viewed 8148 times
Best Regards Ulrik
r.zegwaard
Member
Posts: 93
Joined: Fri Jul 08, 2011 10:31 am
Location: The Netherlands

Re: How to avoid overwriting IPTC data when using XMP inject?

Post by r.zegwaard »

Never used XMP-data, but i guess you could first pickup the entire xmp-data. Then modify it and inject it.
User avatar
Terkelsen
Advanced member
Posts: 297
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: How to avoid overwriting IPTC data when using XMP inject?

Post by Terkelsen »

If you want to add to the existing data just use the existing data as a variable to insert before the new value.

Example:
If the existing dc.subject is "London" and you want to keep that, but add "United Kingdom" the variable to insert would be:
[Metadata.Text:Path="dc:subject/*[1]"], United Kingdom
User avatar
Terkelsen
Advanced member
Posts: 297
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: How to avoid overwriting IPTC data when using XMP inject?

Post by Terkelsen »

Apparently there is a bug that prevents my suggested solution from working on Windows. It works fine on Mac, where the injected XMP data is added to the existing. On Windows, however, the existing data is not preserved and only the newly added data will be visible.

It has been reported to Enfocus support and will be fixed in Switch 2019.

As a workaround until this has been fixed, this is what you can do. First read the old value from XMP and store it in job's private data and then use XMP inject element that reads the value from the private data.
Ulrik
Member
Posts: 21
Joined: Wed Dec 05, 2018 7:53 pm

Re: How to avoid overwriting IPTC data when using XMP inject?

Post by Ulrik »

Thanks for your feedback I will try with private data.
Ulrik
Member
Posts: 21
Joined: Wed Dec 05, 2018 7:53 pm

Re: How to avoid overwriting IPTC data when using XMP inject?

Post by Ulrik »

Thanks for your feedback I will try with private data.
Post Reply