I have an application that allows users to create annotations on a document and then these annots are exported to fdf files, therefore no annots are saved to the document. This allows users to turn on and off various annots from different departments. This all works fine.
The problem I am facing is that if they digitally sign a document in my application using the SDK and standard PDFXchange functionality, they are then unable to import annots as it displays the following error:
Exception from HRESULT: 0x82191006 Error [PXVLib]: No permissions for this operation.
I understand why this is happening as the document has been digitally signed and therefore no changes should be able to be made to the document after signing. However, I was wondering if there is a way around this as I want the user who is going to digitally sign the document to be able to load previous annots to ensure they have been incorporated prior to signing.
Any help would be really appreciated.
Thanks
Simon
Import comments file to signed document
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Import comments file to signed document
Hi lidds.
In 'Add Digital Signature' operation you need to setup the "DocMDP" param. Put there 3 value:
DocMDP:
1 = "No Changes Allowed"
2 = "Allow Form Filling, Document Signing and the Creation of Page Templates"
3 = "Allow Form Filling, Document Signing, Commenting and the Creation of Page Templates"
HTH.
In 'Add Digital Signature' operation you need to setup the "DocMDP" param. Put there 3 value:
DocMDP:
1 = "No Changes Allowed"
2 = "Allow Form Filling, Document Signing and the Creation of Page Templates"
3 = "Allow Form Filling, Document Signing, Commenting and the Creation of Page Templates"
HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.