I am trying to access certain attributes of an appointment from the client side "onAppointmentEditing" event. I'm using eventArgs.get_appointment().get_attributes().getAttribute("Type") and it is returning "undefined". I saw a similar post here:
I'm confused about why the attribute name "Type" wouldn't work. While debugging my javascript method, I was able to see that the get_attributes() method only has 10 items in it when I actually have 15 custom attributes on my scheduler. The following custom attributes were missing from the get_attributes()._keys list:
- "Calendar"
- "EventTypeID"
- "Description"
- "Location"
- "Type"
All of these are listed in the "CustomAttributeNames" field of my scheduler control. Are these reserved words in the scheduler control? Why can't I access them from the client side?
Thank you,
Laura