Adding a sub to a Bookings web definition
After you have added and configured a main web definition, you can add sub web definitions. Good to know: for each type of booking option in your Bookings configuration you must configure a separate sub web definition.
| In the Bookings web definition, the use of sub web definitions is essential. You must at least configure two sub web definitions for the two main booking actions that are offered prominently on the Start page of the app. You can add more sub web definitions for any extra booking options you might want to offer, such a training facilities, office equipment and so on. For the extra booking options, additional configuration is required after you created a sub web definition. See Configuring alternative booking options for more information. |
Prerequisite: for each sub web definition that you add, an relevant standard order must be available that can be used to create the actual booking (reservation).
Procedure
1. In App configuration > Bookings, select the main web definition.
2. On the action panel, click Add sub.
3. Select the business object on which you want to base the sub web definition.
The reservable business objects include: Asset units, Space units and Flexible workspaces.
4. On the Module settings tab on the data panel, fill in the fields such as Code, Name, Icon.
5. Select an appropriate Standard order for the sub web definition.
6. Click Save.
7. Fill in appropriate Navigation names in the relevant languages.
8. Click Save.
9. Settings for Space units and Flexible workspaces: For both types of sub web definitions, you can make settings on the data panel > Preferences tab.
◦ In the field Maximum number of days ahead on the Preferences tab you can enter a maximum number of days to display ahead in the calendar. The default value is 30.
◦ The Allow floor selection? field is set to Yes by default. The settings allows users to select a floor on the Search page and Switch location - page. If you want to hide floor selection from these pages, because they are not applicable in your configuration, set the Allow floor selection field to No.
10. Additional web definition settings for Flexible workspaces:
◦ If you want to allow booking a desk / workspace for the entire day, select the sub web definition and go to the Preferences tab. Set the field Book whole day to Yes.
◦ If you want allow users to book a desk / workspace near a colleague, go to the Preferences tab and set the field Enable booking near colleague to Yes.
◦ If you want to allow booking a desk / workspace for the default period, select the sub web definition and go to the Preferences tab. Select the default booking period from the list in the field Default booking period. The default value is 1 hour.
| If the Book whole day field is set to Yes, the Default Booking Period will be hidden. |
11. On the web definitions panel, expand the main definition, to display the sub web definitions.
12. Select a sub web definition and navigate to the bottom panel of the web definitions panel. You will see a structure like this:
All pages and blocks are ready for use. You can slightly customize them, by setting Fixed filters, adding / removing fields, editing Field properties (labels, sorting order) or selecting a different Position or visibility for a block, and so on.
Link the sub web definition to a main booking option or to an additional booking option on the
Booking action block or
Alternative options block (in the
Booking flow - web definition field on the
Action properties tab). Also see
Configuring main booking options and
Configuring alternative booking options.