Page 1 of 1

Add new event & email record

PostPosted: Wed Jun 23, 2010 4:41 am
by mrcolinball
Is it possible to add / modify an event and upon "close and refresh calender" in the event popup automatically email the results of that whole event to a set email address? If so, any pointers on how to do this would be greatly appreciated.

PostPosted: Wed Jun 23, 2010 9:57 am
by John Sindelar
Hi,

We run a script which looks to see if you've edited an event in the calendar. You can use this script to send your email. In the Script "Close Window & Refresh Calendar" insert the following test right REFORE our Close Window comment:

If [ $sc_UnModified ≠ 1 ]
// do something
End If

This gives you the opportunity to do something (ie email someone) if the record has been modified.

A couple notes:

We don't lock down the Event Details window, so users can edit the record and close the window manually, navigate to another layout, etc.

Another way into this is to have your Server run a scheduled script to email folks about events. The server would search for events that match some criteria then loop through each, emailing the relevant parties.

BIG advantage of doing this on the server is that you don't have to worry about how the user made / edited the event. And the user isn't subjected to your attempts to lock down their window, intercept their edits etc.

Hope that helps,

John