in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Custom appointment types

Last post 03-06-2008 6:59 AM by maxpanella. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-21-2007 11:32 PM

    • Dan McCann
    • Not Ranked
    • Joined on 09-21-2007
    • Pittsburgh, PA
    • Posts 5

    Custom appointment types

    Is it possible to override the C1.C1Schedule.Appointment class with a custom class? I would like to add some additional fields.

     Also this would require being able to customize the new and edit appointment dialogs. Is it possible to override and extend the dialog? I don't see any object to override. Do I intercept some event and write my own dialog from scratch?

  • 10-12-2007 2:53 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 394

    Re: Custom appointment types

    Currently, you will have to cancel the existing dialog and then supply your own.  With version 2.0.20072.229 (available off our prerelease site here) you can cancel the default appointment form and handle your own dialog on the client side.

    I put together a sample that demonstrates how you can make a custom dialog using C1WebDialog and C1WebDateEdit.  This allows you change how the dialog will look and only include fields you want, a basis for any further customization.  The sample also demonstrates how you can add, update and delete appointments from the client side (javascript).

     

    Regards,
    Greg L

  • 03-06-2008 6:59 AM In reply to

    Re: Custom appointment types

    How can I snooze a Reminder in a Custom WebDialog from the client side?

    Thanks.

    Max

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.