Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Booker25 comes with a Time Slot Picker component which is available for record pages.
This component allows the user to quickly pick an available time slot, and create a reservation.

Info

This component was recently added (4.61) and we welcome any feedback or requests for further development

Adding the Time Slot Picker to a Record Page

  1. Go to a record page, click on the gear icon in the top right corner, and click ‘Edit Page’.

  2. Drag the Time Slot Picker component onto the page.

  3. Select a Reservation Type. This will influence a couple things, such as the time slot duration and the displayed fields. More on this in the next section.influences the following:

    1. The Reservation Type’s Field Set controls which fields are shown to the user

    2. The Duration defined on the Reservation Type controls the duration of the time slots that are being offered to the user. If the Reservation Type has no Duration, the time slot duration falls back to a default of 60 minutes

      Image Modified
  4. (Optional) Select a list of children that should drive the time slots. If left empty, the record itself will drive the time slots. More on this in the next section.

  5. (Optional) Enter the name of a flow Lighting Flow that should be run before the form Time Slot Picker is displayed to the user. This is useful to set visible or invisible values on the reservation Reservation to be created. More on this in the next section.

Configuration options

1. Reservation Type

  • Selecting a reservation type Reservation Type is required.

  • The fieldset defined on the reservation type Reservation Type’s Field Set controls which fields are shown to the user.

  • The reservation Reservation generated after clicking ‘Save’ will have the selected reservation type. Reservation Type

  • The duration Duration defined on the reservation type Reservation Type controls the duration of the time slots that are being offered to the user. If the reservation type Reservation Type has no durationDuration, the time slot duration falls back to a default of 60 minutes.

2. Children to search through

  • Defines which resources (or other dimensions) Dimension will be used to generate available time slots from.

  • If left empty, the record that the Time Slot Picker is on will be user used to generate available time slots from.

  • If multiple resources Dimension records are available for the selected time slot, when saving the system Booker25 will randomly select one of them to save the reservation in.when saving the Reservation

3. Reservation pre-creation flow to run

  • If When filled in, this flow Lightning Flow will be executed after selecting a time slot, before showing the fields to the user.

  • This can be used to prepopulate pre-populate visible fields, or to set invisible fields that will be stored on the reservation Reservation after saving.

  • The flow is expected to have a variable named reservation of type B25__Reservation__c, available for both input and output. A template flowTemplate Flow, with this variable already present, is included in the Booker25 package and can easily be easily cloned.

On this page

Table of Contents