I am trying to implement a following use case with BEE/BAT: Users need to book several types of resources (all for the same period) in order to organise an experiment.
What is needed is:
I understand that no. 4 is somehow doable with a search API. However, I'm stuck at no. 3.
What I tried so far was to add a reference to experiment from "/admin/bat/events/event/event-types/availability_daily/edit/fields".
Question 1: is this a right way for grouping several reservation events under one meta-event ("experiment")
This seems to work partially, as I am indeed able to add a reference once the reservation event has been added. However, the default form display is not used for adding new reservation events.
That is:
- "/node/4/add-reservation" shows only start & end date
- "/admin/bat/events/event/add/availability_daily" shows the start/end date, Unit, State and my reference field. (At least as long as I use autocomplete or check boxes as widget for this field in /admin/bat/events/event/event-types/availability_daily/edit/form-display. Select list doesn't work.)
From reading of the existing issues, I understood that changing the add-reservation form is only possible by writing custom PHP code and that it's somehow possible to add such reservations using webforms instead.
Question 2: is this correct? If yes, where can I find some example for designing and using of such webform?
By looking at the optional BAT module, I can see the "BAT Facets". I presume this is used with Search API, to find bookable entities and hopefully also to easily book several entities for the same period at once.
Question 3: where can I find documentation/examples explaining how to use search API with BEE/BAT?
Question 4: how/what for is the "BAT Calendar Reference" used?
Thanks in advance.
Postponed: needs info
Documentation
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.