I have a workflow-type web app which sends out email links to users who have to approve the document.
I build a link for their email message like this:
https://server/db.nsf/view/docid?EditDocument
The recipient clicks on it and it opens in edit mode after they log in.
Problem is is that once they complete the appoval of the doc and it moves on, they still have that link in their email.
What I need is a way, that if they click on a document already processed (ie in another ‘status’ or other flag) to only open in read mode for them.
I was thinking of some kind of onload or Web query open that detects if the user matches the flag…it’s getting complicated…
Any thoughts on the approach I should take?
Subject: Author field
Use a calculated Author field on your form. Include the name(s) of users who can edit the document in the field. Exclude all others; they’ll only be able to read the document. Be sure that users have Author access to the database, not Editor.
Subject: 1st two suggestions are good, but…
…the users really want the links to auto-open the document in edit mode.
AND
…I’m already using the author field, but all users of the doc are in it and i’m using hide-whens to control access.
Any other ideas?
Subject: RE: 1st two suggestions are good, but…
So leave the link to ?EditDocument, and remove those users from the Authors fields when the status changes (leave them in Readers field).The document will simply open in read mode.
Subject: RE: 1st two suggestions are good, but…
Yeah, that sounds do-able.Thanks so much.
Subject: Email link to Edit mode: How to prevent?
One option is to change the link to …?OpenDocument.On the document, have “Edit” button and hide it when appropriate.
Also, you can set the document to automatically open in edit mode; When the user is removed from any Authors fields, the document will open in read mode.
HTH,
Simeon