This discussion is archived
1 Reply Latest reply: Feb 10, 2009 2:45 AM by DarrylBurke RSS

Mime Type for Excel Content

807588 Newbie
Currently Being Moderated
Hi,
I creating a module where I need to export the content of html table to a xls file, which is working fine. I want to add gif image at top of exported excel file.

Image was not getting loaded in xls file...

My Code

write("<img src=Application.image(\"image.gif\") width=\"125\">");

prop.setProperty( "export.csv.label", "CSV" );
prop.setProperty( "export.csv.mimetype", "text/csv" );

Whether I need to change the mime type ??

Thanks in Advance