Tags and templates

Started by rienvanham, September 10, 2024, 07:58:29 PM

Previous topic - Next topic

rienvanham

Hello Mario,

I tried to make a template what does a lot of work for my tags but I don't get it anymore. I made a copy of the template and stripped it until 1 change was left.
I would like to copy the value of
{File.MD.city}
into
{File.MD.XMP::iptcExt\LocationShownCity\LocationShownCity\0}
(see attachment). But, instead of filling in the value from File.MD.city} it clears File.MD.city}!

What am I doing wrong?

Thanks in advance,
Rien


Mario

#1
When you look at the shortcodes help topic you'll see that MD.city is the shortcode for  XMP::iptcExt\LocationShownCity\LocationShownCity so your template may not be doing what you think it does?

Also: the XMP::photoshop\City\City is synchronized with the XMP::iptcExt\LocationShownCity\LocationShownCity by IMatch, and vice-versa.

What are you trying to achieve?

Please don't pick random location tags. Location shown / created are structured tags with many linked elements, and also mirrored into other tags, like photoshop\city.

Use the IPTC Location layout in the Metadata Panel (and the tags used there) to manually fill location tags.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

rienvanham

Hi Mario,

You're absolutely right! I better ask in future before experimenting things in iMatch. Besides iMatch I'm using Photo Mechanic Plus and found differences in the number of files showing after a query in both programs. I "thought" (wrong thinking!) that it has something to do with the mentioned tag.

But I made a stupid error in the query of PMP.

Sorry to bother you with my experiments.

Rien.

Mario

Experimenting is good! The only way to learn new stuff. Sometimes things fail, that's part of the fun.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook