Hi,
I'm trying to understand and customize a code in an ASP.Net application that automatically generates a fdf file like this one :
%FDF-1.2 %âãÏÓ 1 0 obj << /FDF << /F(http://xxxx/a_name.aspx?guid=xxxx-xxx...) /JavaScript << /After 2 0 R >> /Target(an_iframe) >> >> endobj 2 0 obj << >> stream ( function Register () { if (app.viewerVersion >= 8 && (!app.viewerType.match(/Reader/) || (requestPermission(permission.annot, permission.create) == permission.granted))) { var msg ={"doc":this, "initiator":"xxxx", "id":"xxxx", "source":"xxx/xx/xx/", "driver":"urn://ns.adobe.com/Collaboration/SharedReview/WebDAV", "invitees":["<span class="spamspan"><span class="u">xx</span> [at] <span class="d">xx [dot] com</span></span>"], "sentDate":"\/Date(xxx)\/", "deadDate":false, "requireSave":false, "cc":""}; Collab.registerReview(msg); } }) () endstream endobj trailer << /Root 1 0 R >> %%EOF
The URL of the pdf must be unknown for the reviewer and each access is logged, that's why the fdf file contains a filename like "a_name.aspx?guid=xxxx-xxx". The same pdf is used in many shared reviews : each one is associated with its own "source" directory.
There are a few problems with this .fdf file :
- the name of the revision will always be "a_name.aspx". Can I change this?
- if I publish comments, disconnect, reconnect and publish again, it seems that adobe considers that a new revision begins because the "guid" in the adress changes. How can I fix this?
- How can I force the identity of a reviewer? I need to force the identity of the reviewer to the email of my "invitee", but, for the moment, the reviewer can choose his/her identity.
thanks in advance
http://www.adobe.com/devnet/acrobat/pdfs/online_collaboration.pdf
Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.