Change a document form to display

Hi

I have a small problem: I must consider a web user with only the rights to read the documents. How can I change a document display form without saving the document?

With best regards,

Arek F.

Subject: Change a document form to display

Specify “Form Formula” in a View. And let the user open documents from this View.

Regards

Litty Joseph

Subject: RE: Change a document form to display

Hi

Thanks for Your fast reply. Hmm… the problem grows a little bigger because we want to make our own views with AJAX, so we won’t use the lotus views directly.

With best regards,

Arkadiusz Fijalkowski

Subject: RE: Change a document form to display

You can put the whole content of the editable form in a subform.Put the content of the read-form in another subform.

Create a computed subform formula on the form itself. If the user is editor, load the 1st subform; if the user is reader, load the 2nd.

So in the end you got:

1 form with only a computed subform formula

2 subforms, one for reading, antoher for editing

Subject: RE: Change a document form to display

No need, really – in order to get TO a document in a Domino web application, you need to use a view in the URL. It doesn’t matter whether you actually open the view in the browser or not – the Form Formula for the view used in the document URL will be enforced. (I have experiential reasons to believe that a Form Formula will be faster and more scalable than a computed subform. I’m not silly enough to make an authoritative declaration, but my experience suggests this is the case.)

Subject: RE: Change a document form to display

Stan,

You’re right - as always :wink:

Only disadvantage of showing a form with a form formula in my opinion is that the more clever user can change the viewname in the url and in that way can see the original form…

Subject: RE: Change a document form to display

Hi,

We want to make our own views because those built-in looks really creepy in browsers :wink:

I’ll make that in few days so I’ll keep You informed in that matter whether Your solutions worked or not.

Thanks for Your interest :slight_smile:

With best regards,

Arkadiusz Fijalkowski

P.S. If You will have any new ideas, let me know here :slight_smile: