Hi,I have a author field on my form. When a webuser opens the document in the read mode, i need to do either of the 2 things.
- Either hide the “Edit” button. - My hide when formula is not working on the web. How should I validate the effectiveUsername against the name in on of the fields on the form? This will only show the edit button to the user whose document it is.
Or
- Create a error page and redirect to it with custome message that you cannot edit this document. Here also a validation is required.
Please someone help me.
Thanks,
Rinkoo Keshari.
Subject: Web Edit Document with Author Field
Your Authors field should be computed, populated with the user(s) name when the document is edited.
@Name([Canonicalize] ; @UserName)
All you need to do for the Edit action is a simple formula in the “hide if formula is true”:
!@Contains( @Name([Canonicalize] ; @UserName) ; Authors)
Subject: RE: Web Edit Document with Author Field
Thanks Tim for the response.
I tried this , the notes clients show the edit button properly but on the web the button is not showing at all .
What else could I check.
Thanks for your help.
Rinkoo Keshari