So far, I've been able to get the appointment composer to come up, but still can't figure out how to load the appointment data.
Code:
MyZimlet.showAppt = function (apptUid) {
var apptComposeController = AjxDispatcher.run("GetApptComposeController");
if (apptComposeController) {
var appt = new ZmAppt();
apptComposeController.show(appt);
}
}; I tried
Code:
if (apptComposeController) {
var appt = new ZmAppt();
appt.getById(apptUid);
apptComposeController.show(appt);
} but it does the same thing as the first code block above: appointment editor appears but it is blank.
Anyone know how to load the data into the appointment composer?