Hi Hilla,
Thanks for your update.
Query #1 "How do i know which appointment was clicked (datetime & resource or appointmentID)"
Your requirement can be achieved by getting the values from the argument of Javascript function defined for ClientSideOnScheduleMenuItemClick event. Please refer the below code snippet.
[Javascript]
function MenuClick1(obj)
{
if(obj.menuItem == "Menu Item 1")
//obj contains appointment from that ID can be accessed
alert("Appointment ID -" + obj.appointment.ID
//obj contains appointment from that StartTime,EndTime can be accessed
+ "StartTime -" + obj.appointment.StartTime
//obj contains appointment from that ResourceData can be accessed where ID and Name of resource is available
+ "ResouceID -" + obj.appointment.ResourceData.ID);
else
alert("Menu Item 2 selected");
}
For your convenience, we have created sample and the same can be downloaded from the following link.
F100068174844038.zipPlease let me know if you have any other questions or concerns.
Regards,
Sridhar.N