Save a report as JPEG (via script)

Lukas16
Tera Contributor

On a report page, you have the option to save the report as JPEG or as PNG:

Lukas16_0-1710856540587.png

 

I am now trying to perform that action via script.

Basically, I aim to save the report as JPEG and store it somewhere in the system, e.g. as attachment on a specific record.

 

After hours of research, I can't find any code to do so.


I am thankful for any kind of help!

 

Context: With the help of the PDF Generation API, I aim to create a PDF document. On that document, I'd like to add a specific report as image. Before doing so (With the help of the HTML "IMG" tag, where I basically provide the URL of the attachment file), I need to save the report as image somewhere in the system.

1 REPLY 1

Pratiksha Kalam
Kilo Sage

Hello @Lukas16 ,
May this will help to answer your question.pls check

report in JPEG 

 

If my answer is helpful Kindly mark it as helpful and correct!

Thank You!

 

Br,

pratiksha.k