These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

RegisterReview !?

Danious
Registered: Apr 14 2008
Posts: 10

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

lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
You'll probably want to check out the following guide under the FAQ for this forum for more detail on setting up this type of environment:
http://www.adobe.com/devnet/acrobat/pdfs/online_collaboration.pdf

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

Danious
Registered: Apr 14 2008
Posts: 10
Thanks for your answer.

I have already read a lot of documentation including that one, and I noticed that the Collab.setStoreSettings method (already tested) is used instead of the Collab.registerReview in my example. When using Collab.setStoreSettings, a dialog appears and I must enter a login and a password to connect to the shared review system. But I don't know any valid login ! That's why I keep using Collab.registerReview...

Does anyone know how to solve my problems?