In the "Advanced Code Replacements" article on the Camera Bits Support Site (Solution home > Photo Mechanic 6 > Variables and code replacements > Advanced code replacements) the final section (More Code Replacement Ideas) gives an example of a wedding photographer putting the code replacement codes in the IPTC Template and then editing the code replacement file for each wedding.
I'm trying to get that technique to work, but the problem is that as soon as the closing delimiter is typed in the IPTC Template field the code replacement is immediately evaluated, either to the value in the currently loaded file or to the defined default if the code doesn't exist. That means the technique described in the support article won't work, as the code replacement happens immediately and can't be stored in the template for later evaluation.
Is it possible to use code replacements in the way described in that article? If so, I'd appreciate some guidance on how to delay the evaluation of the code replacement to allow it to be stored in the IPTC Template and only be evaluated when the template is applied. If it won't work at all, please could the support article be updated to reflect the actual functionality of PM in this area?