How to avoid overwriting IPTC data when using XMP inject?

Post Reply
Ulrik
Newbie
Posts: 6
Joined: Wed Dec 05, 2018 7:53 pm

How to avoid overwriting IPTC data when using XMP inject?

Post by Ulrik » Mon Feb 11, 2019 9:36 pm

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 671 times
Best Regards Ulrik

r.zegwaard
Member
Posts: 66
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 » Thu Feb 14, 2019 8:38 am

Never used XMP-data, but i guess you could first pickup the entire xmp-data. Then modify it and inject it.

User avatar
Terkelsen
Member
Posts: 189
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

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

Post by Terkelsen » Thu Feb 14, 2019 9:30 am

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
Member
Posts: 189
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

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

Post by Terkelsen » Thu Feb 21, 2019 3:07 pm

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
Newbie
Posts: 6
Joined: Wed Dec 05, 2018 7:53 pm

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

Post by Ulrik » Mon Feb 25, 2019 3:23 pm

Thanks for your feedback I will try with private data.

Ulrik
Newbie
Posts: 6
Joined: Wed Dec 05, 2018 7:53 pm

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

Post by Ulrik » Mon Feb 25, 2019 3:24 pm

Thanks for your feedback I will try with private data.

Post Reply