C1Schedule - Retrieve Appointment Data with OnClientBeforeDialogOpen

Posted by: stevekane on 10 September 2017, 11:30 am EST

  • Posted 10 September 2017, 11:30 am EST

    Is there a way to retrieve the appointment data in the OnClientBeforeDialogOpen function?  I noticed that all of the examples reference C1WebSchedule which takes four arguments in the JavaScript function, one of them being the appointment data.  In the C1Schedule JavaScript function, it appears to only takes two parameters (sender and dialog arguments).  The other two are undefined.


    My goal is to cancel the default appointment dialog (which I am able to do) and then send the appointment data to a different custom control to display the data.  I would like to wrap this functionality in a control so I can use it throughout my site as we are displaying other calendar data on other pages in different formats (like a table listing), which is why for now I am not using the custom template, as that is tied directly to the C1Schedule data model.


    Thanks,


    Steve

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels