High
...
-Level Use Case
This example provides a starting point for integrating integrating GoMeddo's "activity registrationRoom Booking" capabilities into syour website using the GoMeddo Javascript SDK.
The example demonstrates this by allowing students to book a room for student housing at the Amsterdam Metropolitan University. While focused on student housing bookings, it demonstrates the process and structure needed for a range of room booking scenarios.
Overview of User Interaction on the Frontend
The dashboard of the application lists various activities available to be taken on different dates. Users can a
GoMeddo Setup
...
The activity itself is an existing reservation in GoMeddo.
...
The activity types are reservation types in GoMeddo with descriptions and images attached to them.
...
Visitors of the activity become contacts in Salesforce using reservation contacts.
...
Staff are the instructors.
...
Both locations and staff have availability.
...
The location where the activity happens is a resource in GoMeddo with a specific resource type
City: Fitness Centres are categorized by their location (e.g., Amsterdam).
Fitness Centre : Within each city, specific fitness centres are identified (e.g., GymNow).
Room (Intensity Levels): Rooms within each fitness centre are designated by intensity levels (e.g., Entry-Level Room).
...
Custom Fields Creation: To use and display information from other objects, We must introduce custom fields within the Salesforce reservation object, such as Center_Name__c
, Room_Name__c
, etc. These fields are essential for getting detailed information about each activity.
...
rooms which can be filtered based on room type, price, and group size. Once a user selects a room from available rooms, they can click on the room and view information on that room and select 'Book Now' on the UI. Users will then be prompted to input their contact information and make their reservation for the selected room.
Step-by-Step Guide to Setting Up The Example
Set Up Resources and Resource Types:
Define the hierarchical structure for your resources:
Organization > Country > City > Student Housing > Rooms.
Example:
Organization: Your Organization
Country: Netherlands
City: Amsterdam
Student Housing: Amsterdam Metropolitan University
Rooms: Executive Suite
Note: There can be multiple resources of the type "Rooms", "City" and, "Student Housing".
Create Reservation Types:
Define a Reservation Type (e.g., Student Housing).
Create Custom Fields Under the Resource Object:
Add the following custom fields to provide detailed information about each activity:
Housing_Location__c
(Formula Text Field)Housing_Features__c
(Text Field)Housing_Rating__c
(Number Field)Housing_Type__c
(Formula Text Field)Image_Url_2__c
(Custom Image Field)Image_Url_3__c
(Custom Image Field)Image_Url_4__c
(Custom Image Field)
Create Resources:
Create Resources for the rooms you want to display on the frontend.
Ensure each Resource is linked to the appropriate Resource type, Description, and other Custom Fields.
Note:
Ensure that each resource in GoMeddo is marked as ‘is Active’ and ‘'isActive' and 'Api Visible’ ' to be displayed and available through the API.
Ensure
...
that Resources, Resource Types, Custom Fields and Reservation Types are set up in GoMeddo. For the student housing system to accurately display available
...
rooms, each
...
room must be created as a
...
resource within GoMeddo. This step is vital as the SDK relies on
...
these Resources to present customers with real-time availability and booking options.
API Key Requirement
To access to the SDK’s functionalities, an API key from from GoMeddo is is required. For instructions on obtaining this key refer to to First time Set-up. Remember to to whitelist your your domain as a part of the setup process and grant grant privileged access access to the API key.
Link to Github and Wiki
For further information on utilizing the GoMeddo Javascript SDK, visit [GoMeddo JS SDK wiki] and to test the frontend example explore the GitHub repository [GoMeddo Activity Registration Room and SchedulingFacilities Bookings].
Visual Overview
...
Similar use cases
...
Book meeting rooms for corporate events
Reserve study rooms in libraries
Schedule conference rooms for business meetings
Reserve practice rooms for music students
Book private rooms for therapy sessions