variables.elementName = getEventDateTimeCEName(); variables.elementIDfield = "uniqueID"; variables.parentIDfield = "calEventID"; //variables.CCAPIName = getEventRecurrenceCCAPIname(); variables.CCAPIName = getCCAPIName(variables.elementName); variables.elementViewName = getCEViewName(variables.elementName); var elementName = getEventDateTimeCEName(); var ElementIDfield = "uniqueID"; if ( LEN(arguments.uuid) ) return application.ptCalendar.ceData.getCEData(elementName, ElementIDfield, TRIM(arguments.uuid)); else return application.ptCalendar.ceData.getCEData(elementName); var dtStruct = StructNew(); var dtArray = application.ptCalendar.ceData.getCEData(variables.ElementName,variables.elementIDfield,arguments.uniqueID); if ( ArrayLen(dtArray) ) dtStruct = dtArray[1]; return dtStruct; var elementName = getEventDateTimeCEName(); var ElementIDfield = "calEventID"; return application.ptCalendar.ceData.getCEData(elementName, ElementIDfield, TRIM(arguments.calEventID)); var formID = getEventDateTimeFormID(); var elementFields = application.ptCalendar.ceData.getElementFieldsByFormID(formID); var currPageID = 0; var i = 1; var j = 1; var retStatusStruct = application.ptCalendar.csContent.populateContent(variables.CCAPIName, arguments.dataValues); /* retStatusStruct RETURNS: CONTENTUPDATED : true/false & CONTENTUPDATERESPONSE: Success:1 */ return retStatusStruct;