How to download the image from catalog item ?

SK36
Tera Contributor

I just want to download the image of catalog item in JPG format. Is this possible?

4 REPLIES 4

Murthy Ch
Giga Sage

Hi @SK

Add the JPG attachment to the catalog item.

Now In description field click on Insert/Modify link you can see the image like below:

find_real_file.png

Now select type as attachment you can see the attached attachments in drop down. When user clicks on it it will download the image.

 

Thanks,

Murthy

 

Thanks,
Murthy

SK36
Tera Contributor

Thanks for your response.

But I just want to download the image mentioned in screenshot.find_real_file.png

 

Vinod Kondagad1
Tera Contributor

Hi All,

I was facing same issue can someone give solution to above one.. How to download the image of catalog item.

Yaraslau
Tera Guru
  1. Copy attachment to Incident 

 

GlideSysAttachment.copy('sc_cat_item','sys_id','incident','sys_id');​

 

  • Find new attachment in 'sys_attachment' table
  • Remove 'ZZ_YY' from the begining in 'Table name' column
  • Download attachment from Incident record