Fields – Scheduler

The Scheduler field is used to display a calendar type display that list various events. They are best displayed as a full form field, taking up the full width of a page. Scheduler events will be defined as a separate concept within the application

This is what the scheduler will look like within the page:

A screenshot of a scheduler field in trellispark. It is organized by the date across the top and in hourly increments from 8am to 5pm vertically. Two events are showed, one blue and one orange.

A new event can be added by double-clicking directly on an empty timeslot. If there are multiple possible scheduler event types allowed, the the one you want to create must be specified before continuing:

A screenshot of the concept selection form when creating a new event.

This is an example of what an event concept may look like:

A screenshot of the event creation for a scheduler in trellispark. There is a title field, a period showing the date and times in which the event will occur, whether this is an all-day event, and a description of what kind of event is scheduled.

Below is an example of the field definition for the scheduler:

A screenshot of the creation process for a scheduler field in trellispark.

The Stored Procedure field is used to specify the TSQL stored procedure that will be called to populate the scheduler with events.

The Business Hours Start and Business Hours End Fields are used to specify the business hours of each day on the scheduler. When the Show Business Hours button is selected at the bottom of the scheduler then the scheduler will be condensed to only show the specified business hours instead of all 24 hours. By default the business hours are 9am to 5pm.

The Allowed Scheduler Concepts field is used to control what types of events the user can create through the scheduler by double clicking an empty time slot. If this field is left empty, then the user will not be able to create new events through the scheduler.

The event concept will be created as its own form, which can then be selected from the Allowed Scheduler Concepts childlist:

A screenshot of the scheduler concepts list, showing a single dropdown list of the available concepts in trellispark.

Event Type Requirements

An event type is simply a concept, it can be any concept that already exists so long as it has the required fields.

The minimum field requirements to have a concept display in the scheduler are the following:

  • A string field with the XML Element Name Title – This will be the title used for the event.
  • A GUID Field Options field with the possible options Yes and No with the XML Element Name AllDayEvent – This will be used to determine if the event is an all-day event.
  • A Period field with the XML Element Name EventDateTime – This will be used as the events start/end date.
Updated on January 12, 2023

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment