We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to create meetings in schedular

Hello Syncfusion team

I have made react shedular component and authenticated my web app using keycloak. How can I create room for meetings within scheduler  and is it possible that user with meetings are keycloak authenticated?

Thankyou.


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team October 10, 2022 07:14 AM

Hi Aanchal,
How can I create room for meetings within scheduler
You can refer Room scheduler sample to achieve your requirement.
is it possible that user with meetings are keycloak authenticated
Yes, it is possible to authenticate the user using actionBegin event.
index.js:
  function onActionBegin(args) {
    if (args.requestType === 'eventCreate') {
      // You can create appointments based on keycloak authentication using args data. If you want to prevent the appointment creation, pass args.cancel as 'true'. If you want create the appointment, pass args.cancel as 'false'.
    }
    if (
      args.requestType === 'eventCreate' ||
      args.requestType === 'eventChange'
    ) {
      let data = args.data instanceof Array ? args.data[0] : args.data;
      args.cancel = !scheduleObj.isSlotAvailable(data);
    }
  }
Kindly try the above solution and let us know if you need any further assistance on this.
Regards,
Satheesh Kumar B

Loader.
Live Chat Icon For mobile
Up arrow icon