This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 1, 2012, 9:24 AM
7 Posts

PDF Generation from XPage

  • Category: Other Domino Designer Tooling
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: PDF Generation
  • Replies: 6
In my application, there are couple of computed fields and these computed fields will display values from a categorized view. How to generate these computed field values into PDF.
Pls Help... 
Aug 1, 2012, 10:21 AM
122 Posts
Re: PDF Generation from XPage
There are a couple of videos about generating PDFs with XPages on http://notesin9.com
 
That's probably a good place to start. 
Aug 1, 2012, 11:27 AM
7 Posts
Re: PDF Generation from XPage
 
Thanks Mr. Paul S. Withers 
 
I went through that video and I think it wont solve my issue,  
 
pls help. 
Aug 1, 2012, 1:30 PM
1 Posts
Re: PDF Generation from XPage
 Jamsheed asking a forum question requires a little more effort. Anybody here contributes valuable time, so honor that by asking properly:
 
- describe the exact problem including data you have and desired outcome - detailed 
- share what you have tried and why it didn't work for you 
- mention including urls what you were reading before you asked 
- when a solution is offered and you can't get it to work: explain why and what is missing 
- ask on Stackoverflow.com 
 
PDF output is not rocket science, so 'doesn't work for my problem' awfully sounds like little effort spent researching it. And that doesn't work in a community. 
Aug 1, 2012, 3:40 PM
366 Posts
Re: PDF Generation from XPage
 The current standard ways of doing this are to use an XAGENT that utilizes either the iText pdf java library or the Apache FOP java library.
 
You will have to include the java libraries in your system or nsf classpath and then write code using those API's 
 
 
Aug 2, 2012, 5:08 AM
26 Posts
Re: PDF Generation from XPage
The best thing to do it using iText.
The below link has the code for it.
http://www.qtzar.com/blog/7plcn79gsvsw/
Aug 2, 2012, 5:53 AM
135 Posts
Re: PDF Generation from XPage
 A license reminder (copy paste from the comments section of the page linked above):
 
"Just be aware that the iTextPDF library is licensed under GPL which means that the source code of your application must also be available under the GPL license unless you purchase the commercial iTextLib license"
 
Apache PDFBox has a more allowing license.
 
- Panu 
 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal