Reputation: 1023
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
Reputation: 10485
Here you can find an example how this can be realized: http://hasselba.ch/blog/?p=723
Upvotes: 3
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