Forums de discussion

How to Export Dynamic Data from DataBase as a Pdf File

Ravi Teja, modifié il y a 11 années.

How to Export Dynamic Data from DataBase as a Pdf File

New Member Publications: 21 Date d'inscription: 09/07/12 Publications récentes
HI all,

i want to know how to export a Pdf File in liferay.
My Requirement is Feating data from Data Base. and need to show that data in pdf report Format.
( i have to give option to client for download (or) open a file).
Here i used iText to generate Pdf. but i am unable to Export a file.
i am using Liferay6.0 version

Does anybody knows. please help me.

Thanks
Ravi
thumbnail
Hitoshi Ozawa, modifié il y a 11 années.

RE: How to Export Dynamic Data from DataBase as a Pdf File

Liferay Legend Publications: 7942 Date d'inscription: 24/03/10 Publications récentes
If you have EE, there's a Reporting portlet. If you have CE, you can just use aperte-reports

https://code.google.com/p/aperte-reports/wiki/Tutorial
Ravi Teja, modifié il y a 11 années.

RE: How to Export Dynamic Data from DataBase as a Pdf File

New Member Publications: 21 Date d'inscription: 09/07/12 Publications récentes
Hitoshi Ozawa:
If you have EE, there's a Reporting portlet. If you have CE, you can just use aperte-reports

https://code.google.com/p/aperte-reports/wiki/Tutorial


Thank you Hitoshi emoticon

I am using CE. But i have to Generate reports for custom portlet.
is it possible to do Reports for custom portlets.can you please give some more explanation. and url's.
because i don't have much awareness in reporting tools.

Thanks in Advance
Ravi
Ravi Teja, modifié il y a 11 années.

RE: How to Export Dynamic Data from DataBase as a Pdf File

New Member Publications: 21 Date d'inscription: 09/07/12 Publications récentes
hi friends,

I got the solution Here...

it is working for me.
Thanks
Ravi
thumbnail
Hitoshi Ozawa, modifié il y a 11 années.

RE: How to Export Dynamic Data from DataBase as a Pdf File

Liferay Legend Publications: 7942 Date d'inscription: 24/03/10 Publications récentes
Sorry for the late reply.

One note about that page, as I said earlier the report portlet is only available to EE users.
The page also mentions itext but say's is AGPL. Well, that only says that you have to provide your source code.
Anyways, if you use older version of itext, I think that had a different license. Most OSS uses the older version because of this.
deepthi p, modifié il y a 11 années.

RE: How to Export Dynamic Data from DataBase as a Pdf File

New Member Publications: 8 Date d'inscription: 10/09/12 Publications récentes
hi Hitoshi ,

Can you please help me in using reports portlet ( i need to fetch data from DB and show and provide option to get the reports as PDF).
below are the steps i have followed

1)Deployed war "jasperreports-web-6.1.20.1-ee-ga2-20120731110418084.war "
2) Deployed reports-portlet-6.1.20.1-ee-ga2-20120731110418084.war

After this i am able to see Reports Admin in control panel .
Can any tell me how exactly to use this.

Thanks ,
Deepthi P
mattia lentini, modifié il y a 10 années.

RE: How to Export Dynamic Data from DataBase as a Pdf File

New Member Publications: 3 Date d'inscription: 07/05/13 Publications récentes
Ravi Teja:
hi friends,

I got the solution Here...

it is working for me.
Thanks
Ravi



Hi, how could you make it work?

I understand where i have to put the jsp part, but the portlet code, where do i have to use it? Could you explain the procedure a little? Thanks!
Ravi Teja, modifié il y a 10 années.

RE: How to Export Dynamic Data from DataBase as a Pdf File

New Member Publications: 21 Date d'inscription: 09/07/12 Publications récentes
mattia lentini:
Ravi Teja:
hi friends,

I got the solution Here...

it is working for me.
Thanks
Ravi



Hi, how could you make it work?

I understand where i have to put the jsp part, but the portlet code, where do i have to use it? Could you explain the procedure a little? Thanks!



please go to the below link u can find ( pdfgeneration-portlet.rar ) file.
there i have explained.