Hi LF Community,
Is there any way to send an email notification when opening a document in Weblink ?
Any suggestion would be appreciated.
Hi LF Community,
Is there any way to send an email notification when opening a document in Weblink ?
Any suggestion would be appreciated.
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.
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.