function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
S DigalS Digal 

Production Email Templates referencing Sandbox Documents after deployment

Hi  

Sandbox HTML Email Template with Image from Document, which has "https://c.cs8.content.force.com/servlet/servlet.ImageServer?id=015D000000XXncM&oid=00DX00000000xxX" URL but when we deployed both Document & releated Email Teamplate via Change set. It still shows "https://c.cs8.content.force.com/servlet/servlet.ImageServer?id=015D000000XXncM&oid=00DX00000000xxX" URL in production instance and pointing to Sandbox URL.
As per the deployment process, it is suppose to get change as "https://na81.content.force.com/servlet/servlet.ImageServer?id=015D000000YYncM&oid=00DY00000000yyY"

How to deal with this issue? Any help, would be appreciated.

Regards
SD
venkat-Dvenkat-D
Create documents first in production. Use those ids in the email templates. Test in sandbox and then migrate templates. I do not think there is easy way.
S DigalS Digal
Thanks for your response Venky but we got thousands of email templates to amend. Looking for finer solution.