We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

populating a fillable pdf and flattening it and saving and viewing gives warning

`This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document.`

How do i avoid this error. I want to fill the form using C# and save the PDF and user can only view the data but cannot edit the data I am also removing some border around some fields.

I am willing to create a new PDF if i can get iterate through the meta data of the original pdf and generate a new pdf so this way if user opens it they will not get the warning as above.

11 Replies

KK Karthik Krishnaraj Syncfusion Team February 19, 2015 07:02 AM UTC

Hi Jb,

 Thank you for using syncfusion Pdf,

On analyzing your scenario regarding issue with “while filling the form field and saving it exception occurs” and we can’t able to reproduce the issue. I have attached a simple sample as per your requirement in the below link please check with this and let me know if there is any concerns, if you feel still your issue is unresolved please provide the document which reproduces the issue, this will help us to provide you solution easier.

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/general/WindowsFormsApplication13-1799599219.zip

Thanks,

Karthik



JB jb replied to Karthik Krishnaraj February 19, 2015 04:11 PM UTC

Hi Jb,

 Thank you for using syncfusion Pdf,

On analyzing your scenario regarding issue with “while filling the form field and saving it exception occurs” and we can’t able to reproduce the issue. I have attached a simple sample as per your requirement in the below link please check with this and let me know if there is any concerns, if you feel still your issue is unresolved please provide the document which reproduces the issue, this will help us to provide you solution easier.

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/general/WindowsFormsApplication13-1799599219.zip

Thanks,

Karthik


Hi,
Can you provide a VS2010 sln as I do not have VS2013. Also am attaching a test document that I found that caused the issue. Even the W4 pdf that is on a sample on your site caused same issue.


JB jb February 19, 2015 05:12 PM UTC

Took your example in my project and populated my PDF and saved it. When i view the pdf, the form fields are empty and once i click on it the value is seen. Also, the fields are editable which i dont want to once my application fills the data and saves the pdf


JB jb replied to Karthik Krishnaraj February 19, 2015 10:09 PM UTC

Hi Jb,

 Thank you for using syncfusion Pdf,

On analyzing your scenario regarding issue with “while filling the form field and saving it exception occurs” and we can’t able to reproduce the issue. I have attached a simple sample as per your requirement in the below link please check with this and let me know if there is any concerns, if you feel still your issue is unresolved please provide the document which reproduces the issue, this will help us to provide you solution easier.

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/general/WindowsFormsApplication13-1799599219.zip

Thanks,

Karthik


Hi Karthik,
attached is the file

Attachment: Test_ff9c56cc.zip


KK Karthik Krishnaraj Syncfusion Team February 20, 2015 05:09 AM UTC

Hi Jb,

I have created a sample and populated few fields with the input files provided by you, I can’t able to reproduce the issue, the field values are preserved, and it is non-editable, can you please check with the sample in the below link and let me know if there is any issues.

http://www.syncfusion.com/downloads/support/directtrac/general/WindowsFormsApplication6231030059.zip

Thanks,

Karthik.



JB jb replied to Karthik Krishnaraj February 20, 2015 01:52 PM UTC

Hi Jb,

I have created a sample and populated few fields with the input files provided by you, I can’t able to reproduce the issue, the field values are preserved, and it is non-editable, can you please check with the sample in the below link and let me know if there is any issues.

http://www.syncfusion.com/downloads/support/directtrac/general/WindowsFormsApplication6231030059.zip

Thanks,

Karthik.


Hi Karthik,
Thanks for the reply and your sample. Looking at it.

I have issue when I select a radio option and a combo box field and save it. That does not work at all. either the radio option is saved else the combobox selection is saved. 

i posted here also:

http://www.syncfusion.com/forums/118285/using-pdfloadedcomboboxfield-where-ietms-count-0-but-the-combofield-has-values


JB jb replied to Karthik Krishnaraj February 20, 2015 01:58 PM UTC

Hi Jb,

I have created a sample and populated few fields with the input files provided by you, I can’t able to reproduce the issue, the field values are preserved, and it is non-editable, can you please check with the sample in the below link and let me know if there is any issues.

http://www.syncfusion.com/downloads/support/directtrac/general/WindowsFormsApplication6231030059.zip

Thanks,

Karthik.


I ran your sample and attaching the sample.pdf file. The fields you are populating are empty with Adobe Reader XI and if you click on it the values show up


Attachment: sample_8ccefe3a.zip


JB jb replied to Karthik Krishnaraj February 20, 2015 09:47 PM UTC

Hi Jb,

I have created a sample and populated few fields with the input files provided by you, I can’t able to reproduce the issue, the field values are preserved, and it is non-editable, can you please check with the sample in the below link and let me know if there is any issues.

http://www.syncfusion.com/downloads/support/directtrac/general/WindowsFormsApplication6231030059.zip

Thanks,

Karthik.


Hi Karthik,
This is what the issue is

In your code if you set value for a radio option and a combobox field value and save it, it will not save - if it saves, can you attach your pdf file to this thread or to the sln?

In the email address field if you enter "qazwsxe.rfvtgbyhn@poiuyt.com" and when you flatten the form the saved acro form contains only partial data. 

Would be much obliged if you can provide solution that fills all the form elements and i can save it and open the pdf without getting `extended features disabled error`

i have attached my sample file after running through your code and am using reader xI




JB jb February 21, 2015 02:25 AM UTC

Hi Karthik,
Try to use this email in the form
qazwsxedcrfv.poiuytrew@defeaun.com


JB jb February 23, 2015 01:49 PM UTC

Hi karthik,
Any update?

This is what I am trying to achieve
1. fill in the form - text, radio and combo field
2. save it so that user can no longer edit it

Issues:
1. cannot flatten form as if i open the form i have to click on the fields to see value and form is editable
2. email address such as johnsmithdoe.janesmothdoes@qazwsxedcrfv.com does not show as full value
3. if i flatten and save then opening pdf i get `extended features have been disabled. contact author of document`. this is with adobe reader xi. Reading forums online with itext, they have a property that allows to disbale usage rights, not sure if syncfusion has same.

Would appreciate any help guidance, as if it works, i can get the client to buy the pdf lib for their project 

If you need to modify the pdf template to remove any constraints, please do so


KK Karthik Krishnaraj Syncfusion Team February 24, 2015 07:07 AM UTC

Hi Jb.

Sorry for the inconvenience,

We have checked with the issues reported by you, but we can’t able to reproduce it from our end. Here we use Essential studio version 12.4.0.24 to test. We have created new incident for better follow up , please follow the incidents for further update.

Incident Link:

http://www.syncfusion.com/support/directtrac/incidents/135776

Thanks,

Karthik.


Loader.
Live Chat Icon For mobile
Up arrow icon