Good day!
I would like to ask if anyone there can help me with my problem in generating PDFs. I created a Document Template for PDF in HTML format and set "Create Template Document" trigger to save the PDF in a "File Upload Type Field". It is generating the text inside the PDF but failed to load the images.
e.g.
{!logo#html}
Please help. Thanks in advance!
Hi,
Can you try using loop like below snippet to render image. Loop is needed in case the related objects cardinality is multiple (like One to Many(Related Object) or Many to Many(related object)).
{!#LOOP_BEGIN.R65168941(1)}
{!R65168941.Test_Image_Upload}
{!R65168941.Test_Image_Upload#html}
{!R65168941.Test_Image_Upload#url}
{!#LOOP_END.R65168941}
Thanks and Regards
Pradeep
Yes I only upload images to the field (actually it is a field in a related Object), and Yes I have done those token too. But the thing is, I use it for PDF.
I've tested this with related objects and can now confirm you that this is a Bug.
Logged defect # 29050 and will be addressed in future releases.
- Mani.
Hi,
Can you try using loop like below snippet to render image. Loop is needed in case the related objects cardinality is multiple (like One to Many(Related Object) or Many to Many(related object)).
{!#LOOP_BEGIN.R65168941(1)}
{!R65168941.Test_Image_Upload}
{!R65168941.Test_Image_Upload#html}
{!R65168941.Test_Image_Upload#url}
{!#LOOP_END.R65168941}
Thanks and Regards
Pradeep