Hello Everyone,
When I'm trying to change the image in the text template, I have few concerned things
1.The current text template uses a formula for generating the image. Can I make the image publicly available by uploading it in the lightning files section and use the URL in text template?
2. Also why the image is broken when I'm trying to see it in the text template.
3. Please let me know if there are any other ways for changing the image? I have around 10 emails templates that are coming from flow to change all of them.
Also the flow is autolaunched flow and has a waiting time of 1hr. To debug the flow is there any other way? Coz when I try to debug the flow, it's failed.
In Rich Text
In plain text
#Trailhead Challenges #Salesforce Developer #Flow #Trailhead #Data Management #Sales Cloud #Salesforce Admin #Automation #CRM Configuration #New Releases
@Sivatej Dan Before starting, try to create a copy of this thread so that in case of unsuccessful changes, you can return everything to the way it was.
If you need a static image, it's better to use Static Resources because it's easier and the URL won't change.
If you plan to change images frequently, Files may be a better option.
If you upload the image to Static Resources, the formula will look much simpler because the URL of the image will be static. Example:
'/resource/YourStaticResourceName'
That is, if your image in Static Resources is called, for example, EmailHeaderImage, the formula will become:
'/resource/EmailHeaderImage'
If you choose to use Files, then you need to get the ContentDocumentId of the image and paste it into the URL. The formula will remain similar to your original, but you will replace GetImageHeader.Id with the new ContentDocumentId, for example:
LEFT({!$Api.Partner_Server_URL_260}, FIND('/services', {!$Api.Partner_Server_URL_260}))+'/sfc/servlet.shepherd/document/download/' + 'YourContentDocumentId' + '?operationContext=S1'How to get ContentDocumentId?
1. Upload the image to Files.
2. Go to the file page and look for the ContentDocumentId in the URL or in the file details.
3. Paste this ID into the formula instead of {!GetImageHeader.Id}
Sincerely,
Mykhailo Vdovychenko
Bringing Cloud Excellence with IBVCLOUD OÜ