CA Service Management

  • 1.  Make a reservation based on calendar

    Posted May 23, 2018 02:54 PM

    Hi! We need to create an offering for making reservations of meeting rooms. The date component in the form must validate a general calendar with the other reservations. Is it possible to make such validation?

     

    Thanks



  • 2.  Re: Make a reservation based on calendar

    Broadcom Employee
    Posted May 24, 2018 06:08 AM

    Good Morning Sebastian.

    Do I understand this correct when I 'say':
    1 You create a catalog form with a date component on it.
    2 This date component uses the standard/default 'date picker'.
    3 And you also want to be able to check the selected date from step 2 against an already existing 'booking' calendar.

    Which I've not seen before. And needs a lot of '(java)coding' I assume. When possible at all.

    Please advise. Thanks and kind regards, Louis.



  • 3.  Re: Make a reservation based on calendar

    Posted May 24, 2018 10:34 AM

    Yes, your description is correct. In the date picker i would like to unable the unavailable dates.

     

    Thanks for your answer!



  • 4.  Re: Make a reservation based on calendar
    Best Answer

    Posted May 24, 2018 08:16 AM

    Where is the said calendar?

     

    In exchange? If yes, you'll need a java plugin to acess it.

     

    If it is a datastore accessible via a SQL query, a report object should do the trick.



  • 5.  Re: Make a reservation based on calendar

    Posted May 24, 2018 10:37 AM

    Hi! Thanks for your answer! I will decide which calendar to use depending on Catalog's possibilities.

     

    Can I use report validation in the date component?

    Regards



  • 6.  Re: Make a reservation based on calendar

    Posted May 24, 2018 10:39 AM

    No as far as I am aware.

     

    The way i would personnaly go :

     

    1 - Ask the user for the wanted duration for the meeting.

    2 - Ask the user if he wants a particular room

    3 - Run a DB query that returns all the possible options based on the two previous inputs and display them in a list.