Integration with Jadu Connect
Jadu Connect
In Jadu Connect:
- Create a new field for the booking details in Jadu Connect. While there are no restrictions in how the Jadu Connect field is named, it should be of type Text Area.
- Add the booking date field to both the New and Edit form of your case type.
- To show the booking details in the case ribbon, open Settings > Case Ribbon Elements and add a new element.
- Use the following template code to show the booked dates in an easy to use format, replace the placeholder
<PLACEHOLDER>with the unique identifier of your field in Jadu Connect:
{% set dates = case.values['<PLACEHOLDER>'].values|split(',') %}
<ul>
{% for date in dates %}
{% set splitDates = date|split('|') %}
<li>{{ splitDates[0]|date('Y-m-d H:i') ~ ' - '~ splitDates[1]|date('H:i') }}</li>
{% endfor %}
</ul>
Jadu Central
In Jadu Central Forms:
- Create a rule to send booking data to Jadu Connect in your booking form when a user submits the form.
- Select “Create Case” action, and in the action template map the Bookings date JSON mapping field to the Book event - List of Bookings form variable. This form variable returns a data structure which is compatible with the ribbon code. Other variables will not be compatible and should not be used.
Connect Mapping Values
| Name | Example Data |
|---|---|
| Start Date | 2025-04-17 |
| Start Time | 09:00 |
| Duration in hrs | 1 |
| Repeats | 10 |
| Calendar | 4 (Calendar ID) |