request.params.configStruct = application.ptCalendar2.getAppConfig(); //Application.ADF.utils.dodump(request.params.configStruct,"request.params.configStruct",0); // Set the ADD_URL from the Configuration Element if ( structKeyExists(request.params.configStruct,"manage_event_add_url") AND LEN(TRIM(request.params.configStruct['manage_event_add_url'])) ) add_url = request.params.configStruct['manage_event_add_url']; else add_url = ''; // load jQuery headers application.ptCalendar2.scripts.loadJQuery(); // load light box headers application.ptCalendar2.scripts.loadADFLightbox(force=1); AddRecordLinkText = "Add Event"; lightboxwidth = 750; lightboxheight = 500; // initialize app working variables notifyUsers = ""; // Set the render form or link flag renderForm = 1; // Check if we need to display the form if ( (StructKeyExists(request.params, "renderForm")) AND (request.params.renderForm EQ 1) ) { renderForm = 1; } // Set the process flag processForm = 0; // Check if the form has been submitted if ( structKeyExists(request.params, "parameters") ) { processForm = 1; renderForm = 1; } // 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.