Add new event & email record

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 15
Joined: Wed May 03, 2006 4:28 am
PostPosted: Wed Jun 23, 2010 4:41 am
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.
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Wed Jun 23, 2010 9:57 am
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
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 3 guests

cron
(855) SEEDCODE
[email protected]
Follow us: