You are viewing limited content. For full access, please sign in.

Question

Question

Send an email notification when opening a document in Weblink

asked on December 27, 2018

Hi LF Community,

Is there any way to send an email notification when opening a document in Weblink ?

 

Any suggestion would be appreciated.

1 0

Answer

SELECTED ANSWER
replied on December 27, 2018

You could add code to the DocView.aspx.vb file, but depending on your requirements it could take some programming sophistication.  For instance: retrying and not slowing the view if the mail server is down, not double-counting if the user refreshes a page, not triggering when a crawler accesses the site, batching emails instead of sending a separate one on each view.

1 0
replied on December 27, 2018 Show version history

If you're going to write code, I'd be tempted to abstract the work of sending the message out to a separate web service. Then you could use an AJAX call from DocView.aspx and keep from blocking the page load.

0 0

Replies

replied on December 27, 2018

There is no native feature to do that. You could probably use Audit Trail and a scheduled workflow to get you there. It won't be real time, however.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.