You need to sign in to do that
Don't have an account?
how to display report in pdf format.
hello,
Requirement: Need to display report in PDF format.
Tasks done to accomplish the requirement:
ReportTemp Object has a repData as String data type.
From csv i m taking all the data as a string format and putting in to repData field. i.e ReportTemp.repData <- csv data.
Now i m trying to print that repdata using render as pdf.
Issue:
in VF when i m trying to call ReportTemp.repData value. VF is rendering as pdf including all the html tags.
The out is put is displayed in this format below.
mypdf:
<tabel><tr><td>PDFContent</td></tr></table>
Observation:
Static html content of vf page is parsed, and not displayed. But dyanamic html content from the ReportTemp.repData is not processed and displayed as it is.
Can any one of you please do help me in rendering the csv or blob or xls to pdf format.
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....
Hello ,
m using this link info
http://blog.jeffdouglas.com/2010/07/16/create-and-email-a-pdf-with-salesforce-com/
to display the pdf. Only change is Instead of passing string in the account.name in pdftemplate, i m passing passing html tags with data.
But in rendered pdf all the html tags are rendered as it is.
please do help me in this case.
regards
Mamma