Date: Fri, 29 Mar 2024 02:04:31 +0000 (UTC) Message-ID: <1083471171.7.1711677871983@e5163ae9f391> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_6_1142576554.1711677871982" ------=_Part_6_1142576554.1711677871982 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This feature is only available on Lightning calendars. VisualForce calen= dars support a similar (but more limited) feature: Apply custom price calculations
A simpler but less powerful feature (launch a flow when the reservation = form opens) is supported on both calendars: Run a Flow when creating a new Reservation
GoMeddo allows you to hook in to the logic behind the reservation form, = giving you a lot of freedom to customise its behaviour. Have a look at the = example below, where Staff members are filtered based on their Employment T= ype:
https://youtu.be/LMH1HaJbBVEThis article will give you a high level overview of the feature. For a d= eeper dive into this topic, check out these other articles:
Quick Start Guide to help you get your first= implementation up and running
API Reference for details on the methods and obj= ects you can use
Code Sample Library for useful examples of= things you can do
At a high level, this is what happens when you provide your own customiz= ation:
You create a class that has a special method =E2=80=98customize=E2=80=99= .
In the customize method, you add your own handlers for specific events c= oming from the form.
When something happens on the form, your handlers will be executed.
<= /li>In your handlers, you can run your own logic and manipulate the form.
Things your event handlers can respond to (we intend to add a few more i= n the near future):
A new reservation being created
A value on the form being modified
A record being added to a related list
A record being removed from a related list
A record on a related list being modified
Things you can do in your event handlers to modify the form are very sim= ilar to the above list:
You can set any value on the form
You can add or remove records on related lists
You can modify records on related lists
There is also a special type of handler relating to searches. These allo= w you to respond to the following things:
The user searching in a lookup field
The user searching in a related list
Things you can do in a search handler:
Narrow down the default results with extra AND-conditions
Expand the default results with extra OR-conditions
Generate your own results