We are using the schedule controls to manage appointments for sales people. Our appointment entity has a number of fields in addition to those required by the schedule controls, including a customer and an appointment type (visit, phone call, etc). We map the subject in the schedule to a a subject field in the entity, in which the users can record a quick description of the appointment. The problem we have is that when looking at objects in the calendar, it's not clear from the subject who the appointment is with, and whether it is a visit or a phone call. I can more or less resolve this by mapping to a new composite field in the entity, that includes all three pieces of information. That would be okay, but it's still not ideal. For example, I'd like to indicate the appointment type using colour, shading or perhaps an icon. I'd quite like to have the customer and the subject on separate lines. So, is there a facility to override the rendering of the appointment in these views in a way that would allow me to do any of that?
Thanks,
Kevin
Hi Kevin,
You can use ultraCalendarInfo and ultraCalendarLook to have additional data manipulation and appearance settings on the Scheduled appointments. I am attaching a sample demonstrating this. Please let me know if this is what you are looking for.
Josheela
Wow, that was easy - just what I needed. Thanks Joshee
Just one small issue - on my controls the Description is not being displayed below the subject. I can't see where you've configured this in the sample code, nor can I see anything different in my configuration that would prevent it displaying - any ideas?
Hi Kevin
There is no way to make the Description appear using the public object model.
One way to solve the problem is to use the IUIElementCreationFilter interface.I am attaching a sample where this has been implemented.
Thanks Joshee, I'll take a look. I'm a bit confused though, as the first sample you sent me did show the description, but there was no interface used to provide it?