Daniele Grillo
Daniele Grillo

Reputation: 1023

sessionAsSignerWithFullAccess for access notesdocument with reader field

I have a database with documents with readers field where there are the signer as only Reader.

I need to open an Xpages for a public access that show evenry document in edit-mode with URL:

http://PATHDB/Edit.xsp?action=editDocument&documentId=UNID

There are a solution for open the datasource with sessionasSigner credential and show and edit the fields?

Tnx

Upvotes: 1

Views: 759

Answers (2)

Sven Hasselbach
Sven Hasselbach

Reputation: 10485

Here you can find an example how this can be realized: http://hasselba.ch/blog/?p=723

Upvotes: 3

Mark Leusink
Mark Leusink

Reputation: 3757

How about using a managed bean instead of a document datasource and build all the logic into that? Gives you full control over how the data is retrieved/ stored and should solve the issue you're having.

You can start with this article on how to use managed beans in XPages.

Upvotes: 3

Related Questions