Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example provides a starting point for integrating integrating GoMeddo's "activity registrationActivity Registration" capabilities into your website using the GoMeddo Javascript SDK.

An activity has a certain capacity, a staff member and a locationcertain Capacity, a Staff Member and a Location. Your customers can sign up for this activity.

...

The dashboard of the application lists various activities available to be taken on different dateswhich is filtered based on dates and time. Users can additionally filter the activities using the filter option provided on the UI. Once a user selects an activity from available activities the 'Book' button will be visible on the UI if the capacity of the activity is not full. Users will be then prompted to input the contact information and make their reservation for the selected activity.

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.

...

Step-by-Step Guide to Setting Up The Example

  1. Set Up Resources and Resource Types:

    • Define the hierarchical structure for your resources:

      • Organization > Country > City > Fitness Centre > Rooms.

    • Example:

      • Organization: Your Organization

      • Country: Netherlands

      • City: Amsterdam

      • Fitness Centre: FitZone

      • Room: Entry Level Room

    • Note: There can be multiple Resources of the type "Room", "City" and "Fitness Center".

  2. Create Reservation Types:

    • Define a Reservation Type for each class type (e.g., Pilates, Yoga).

    • Create a custom image field for each class type and add an image representing the class.

  3. Create Custom Fields Under the Reservation Object:

    • Add the following custom fields to provide detailed information about each activity:

      • Staff_Name__c (Formula Text Field)

      • Room_Name__c (Formula Text Field)

      • Room_Capacity__c (Formula Number Field)

      • City_Location__c (Formula Text Field)

      • Center_Name__c (Formula Text Field)

      • reservation_type_image__c (Custom Image Field)

  4. Create Staff Members:

    • Add Staff Members (instructors) who will be associated with the reservations.

  5. Create Reservations:

    • Create Reservations for the classes you want to display on the frontend.

    • Ensure each Reservation is linked to the appropriate Reservation Types, Staff, 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 ResourcesResource TypesStaff and Reservation Types are set up in GoMeddo. For the booking system to accurately display available gym classes, each class must be created as a reservation

...

  • within GoMeddo. This step is vital as the SDK relies on these

...

  • existing Reservations 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 and Scheduling].

...

  • Have your students sign up for sports activities.

  • Have your patients sign up to for group sessions.

  • Have your student sign up for coding bootcamps.

  • Have your educators enrolled in professional development seminars.

  • Have your healthcare professionals enrolled in continuing education courses.

  • Have your students volunteer for peer mentoring programs.

...