Hi all

I have Created Appointments zimlets.

Com_Zimbra_ViewAppointment.prototype.getAppt=funct ion()
{
var appt=new ZmAppt(this._appCtxt);
appt.setName("Test");
appt.setTextNotes("Text Notes");
appt.setStartDate("3/2/2007");
appt.setEndDate("3/2/2007");
appt.startDate.setHours(7,00);
appt.endDate.setHours(8,00);
}

Com_Zimbra_ViewAppointment.prototype.init =
function() {
this.getAppt();
}

This code create appointments.
Problem is each time when i refresh the page, new appointment is created. ie.multiple instance of same appointment is created. How to avoid this.

Is there any option for deleting appointments

Thank you in advance.

Regards
Rema