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
Sourabh TayalSourabh Tayal 

Regarding trigger

Hi

 

i have created a trigger which send a pdf on client mail id.  i have add image in static resources and i have also set image path in src in img tag. but the problem is that ehsn send pdf then generate trigger:     so please provide ma correct syntax for sending image.

 

Thanks

 

Sourabh

ManojjenaManojjena

Hey Instaed of Static resource just save the image to Document object .then use that image it will work .

Sourabh TayalSourabh Tayal

How? Please tell me that how to store image in document and used it in trigger code? please send examples.

 

Thanks in Advance.

ManojjenaManojjena

Just click on all tab and then click on Document tab .I think there u can select and add your image as an document .Then  right click on the image and open in new tab ,copy the url and use that url in image tag.