// 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);
TEST 2
// 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);
Error Occcured.
|