// extract some fields from the simple form
formFieldVals = application.ptCalendar2.forms.extractFromSimpleForm(form, "UniqueID,parentID,category"); //,Title,eventDate,starttime,location
//Application.ADF.utils.doDump(formFieldVals,"formFieldVals",1);
// Send and Email to the Notification Contacts for each selected Event Category
if ( structKeyExists(formFieldVals,"UniqueID") AND ListLen(formFieldVals.UniqueID) GT 0 )
notifyUsers = Application.ptCalendar2.eventNotificationService.notifyUsersByEventID(formFieldVals.UniqueID);
//Application.ADF.utils.dodump(notifyUsers,"notifyUsers",1);
Click here to close and refresh.
#AddRecordLinkText#
Error Occcured.
|