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
Kishore chepuriKishore chepuri 

How to read the .csv report data into the apex. then that csv file data send to the pdf.

How to read the .csv report data into the apex. then that csv file data send to the pdf. Please help me for this requirement.

I want to generate the report as .csv r .xls.  Then take that file data and conver into pdf. 

IspitaIspita

Hi,

Can you attach a screen shot of how the value is being shown , also did you try to save everything in a TextArea control of type rich text box and then display the data.

Also try  to first generate a normal VF page , once that turns out to be nice go for using the "renderas=PDf" attritube, this ensure a normal VF page is being generated fine.

 

Hope this helps....

Kishore chepuriKishore chepuri

ya sure.

 

1) i have the .csv file

2) then i got that as blob

3) then i convert that blob as toStrin() so it is int <html> tags form with result.

4) when i sending to the pdf then its displaying as html tags with data.

5) issue is when i am sending that string to pdf . html tags are coming to pdf with data

6) i have to eliminate the tags of html and displaying my report data on the pdf.

Amit Singh1989Amit Singh1989

Hi Kishore,

i am struggling with similar kind of problem,

 

could you please provide me code?

 

 

Thanks

Amit Singh