User login

Who's online

There are currently 1 user and 140 guests online.

Online users

Advertisements


SourceForge.net Logo

Programmatically specify filename and filepath

Submitted by Remi Carrier on Thu, 2007-02-08 21:07.

Hello,

So far I've used PDFCreator in Lotus Notes 7.0.1 and I find it very good.

I have a little problem though.

I need to programmatically specify the filename and filepath. The process has to require no user action (the user must not have any control on the filename and filepath).

To put you in context, I have a Lotus Notes webform used to fill a contract. When the user is done filling the contract, he clicks the submit button. A NotesDocument (contract) is saved in the .NSF. Then an email is sent to the email address specified on the contract thanking the user for filling the contract. Another email is sent to the employee in charge of validating the contracts, notifying him that a new contract has been created.

The employee charged of validating the contracts goes to the "To Validate" View containing unapproved/unvalidated contracts. He opens the contracts that have the "To Validate" Status and clicks "Refuse" to refuse the contract (status is set to "Refused"). In most cases he will click "Approve" (status is set to "Approved", then the NotesDocument (contract document) is converted to PDF using PDFCreator. Then the problematic part appears(the popup window asking for filename and filepath). I want to programmatically specify filename (set to the contract number retrieved from the contract document) and filepath (string on a profile document). Then the PDF is programmatically attached to a Lotus Notes Memo (mail) created from a Mail Template (I programmatically replace placeholder values with the actual values (i.e contract number, user name, etc.)). The memo is then sent to the email adress on the contract document.

So far everything's working just fine, excpet that the employee can change the filename and filepath (in the popup window), which is not a desired functionality.

Thanks in advance for the help,

Remi

© 2006 by pdfforge.org :: Contact us

Validate XHTML or CSS.