pdf_output plugin method for Forms (new feature request?)

Questions and answers on developing, deploying and using plugins and JavaBeans

pdf_output plugin method for Forms (new feature request?)

Postby rafig » Thu May 11, 2023 7:58 pm

Hi,
I have a use case for a client that wants to be able to email a PDF form to their clients part filled in by data from their Servoy solution.
The pdf_output plugin nearly does what I need with the 'convertPDFFormToPDFDocument', but I don't want the PDF file fully "flattened", just a new PDF form created with some form values filled in from database, but other form values left blank for their client to fill in and then save & email back (does not need to go back in to Servoy database!)
So code something like a 'convertPDFFormToNewPDFForm' instead of the 'convertPDFFormToPDFDocument'
Code: Select all
   var pdfform = plugins.file.readFile('TestPDFForm.pdf');
   //var field_values = plugins.file.readFile('c:/temp/1040a-data.fdf');//read adobe fdf values or
   var field_values = new Array()//construct field values
   field_values[0] = 'first_name=Rafi'
   field_values[1] = 'last_name=Galibov'
   var result_pdf_doc = plugins.pdf_output.convertPDFFormToNewPDFForm(pdfform, field_values);
   if (result_pdf_doc != null) {
      plugins.file.writeFile( + 'UpdatedTestPDFForm.pdf', result_pdf_doc);
   }

as the convertPDFFormToPDFDocument does create a new PDF with filled in values, but stops any other fields on form from working...
(I'm not sure much has been done with this plug in for a long time & certainly the docs don't seem to have been updated for a long time...)

Otherwise, does anyone have an easy way of doing what I'm asking?

Thanks

Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 708
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: pdf_output plugin method for Forms (new feature request?

Postby rafig » Mon May 15, 2023 6:51 pm

^^^ BUMP ^^^

Anybody?? (more specifically from Servoy that might be able to update the plugin...?)
Thanks
Servoy Certified Developer
Image
rafig
 
Posts: 708
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: pdf_output plugin method for Forms (new feature request?

Postby ROCLASI » Tue May 16, 2023 8:57 am

Hi Rafi,

I suggest you file a feature request in the support system.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: pdf_output plugin method for Forms (new feature request?

Postby rafig » Thu May 18, 2023 2:30 pm

ROCLASI wrote:I suggest you file a feature request in the support system.

Hi Robert
apologies for not replying sooner ;-)
I will do that, but had hoped someone might have had some other easy/clever solution... ;-)
Thanks
Servoy Certified Developer
Image
rafig
 
Posts: 708
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: pdf_output plugin method for Forms (new feature request?

Postby rafig » Thu May 18, 2023 2:46 pm

Servoy Certified Developer
Image
rafig
 
Posts: 708
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: pdf_output plugin method for Forms (new feature request?

Postby Westy » Thu May 18, 2023 5:45 pm

We have a new Servoy solution that offers PDF forms as a service, that might help. Currently it allows PDF form templates to be uploaded and new records to be created for each template. It works with forms in the common PDF acroform format (not xml) with text and checkbox fields. Scripts within PDF forms are not supported. In the solution a form record popup provides the following actions:
Edit Record
Duplicate Record
Email Document
Fill to another Form
Combine forms and sort
Protect Document
Share editable link
Delete Record

We are adding a new option to allow the submission of data from an outside source that fills to any PDF form and emails the form. This should be available by the end of next week. If interested in testing, please let me know.

Anyone can create a new account now, to try the above listed action items, at https://FillinPDF.com

Dean Westover, President
Choices Software, Inc.
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Re: pdf_output plugin method for Forms (new feature request?

Postby rafig » Fri Jun 02, 2023 2:30 pm

^^^ ANOTHER BUMP ^^^
No reply from Servoy & no action on my support case.
This is becoming more pressing for me from my client that needs this feature added.
Please can someone from Servoy have a look??
Have a good weekend
Thanks
Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 708
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 15 guests

cron