1. General information

1.1. Description of the control

Planner is a multi-source planning calendar.

1.2. Create a new control

A new planner can be created as follows from the view page using the toolbar with controls:

  • First, click on the view page to determine the position in which the new planner should be placed. This will highlight the selected position with a gray horizontal line. Then just click on the “Planner” item in the toolbar of the view page, fill in the attributes of the new control in the newly opened dialog, and then save. This will insert a new planner at a pre-selected location on the view page.
  • If the required position is not determined before inserting the new planner, the new planner will be inserted at the end of the view page.

1.3. Edit or delete a control

  • For each existing control, a pencil icon appears to the left of the control page to change or delete the control's settings.
  • Individual controls can be moved vertically on the view page using the Drag&Drop method. Moving consists of grabbing the control, preferably behind its name, and then dragging it to the desired location on the view page.
  • Controls can be moved only with the “Drag&Drop” check box located above the toolbar with controls selected. For security reasons, this check box is cleared after each login to the application, so that a control is not moved by accident.

2. List of tabs in the control settings dialog

  • General – Setting general properties
  • Resources – Setting up scheduling calendar resources
  • Availabilities – Availability settings
  • Text – Setting the columns displayed in the planning calendar
  • Tooltip – Settings for columns displayed in details
  • Rights – Rights settings
  • Administration – Setting other properties

2.1. “General” tab

2.1.1. Name

  • The name of the control displayed in the header of the planning calendar.

2.1.2. Dictionary

  • The dictionary lists the names of other controls, forms, view pages, categories, applications, and application groups used across the entire application.
  • The dictionary search is used to design the correct control name and to maintain the consistency of the nomenclature throughout the application so that controls with the same meaning located in different places in the application are named in the same way.

2.1.3. Width

  • The width of the control, expressed in pixels.
  • If this input field is not filled in, the width of the planning calendar will be set to the maximum screen width.

2.1.4. Data source

  • The data source defines the source database records displayed in the planning calendar.
  • Data source settings are made in the graphical designer of database queries. A detailed description of the database query designer is provided in the separate guide Database query designer.

2.1.5. From-To

  • Select a column that determines whether the event in the planning calendar is one-day/multi-day.

2.1.6. From

  • Select a column that specifies the start date of the event in the planning calendar.

2.1.7. To

  • Select a column that specifies the end date of the event in the planning calendar.

2.1.8. Title

  • Select a column that specifies the title of the event in the planning calendar.
    • Time – Checking this box determines whether the event time stamp should be displayed in the format “HH: mm” in addition to the title.

2.1.9. Resource

  • Select a column that specifies the source of the event in the planning calendar.
  • Resources are displayed as individual columns of the planning calendar.

2.1.10. Color

  • Default color of all events in the planning calendar.
  • Each event can have its own color set. In the data source settings, the “Color by” column must be set, according to which the color of the event is determined.

2.1.11. Options

  • Allow entering new records
    • Checking this box determines whether the user should be allowed to be redirected to a specific edit form in order to create a new record in the database by clicking on a free space in the cell of the planning calendar.
  • Run script
    • Checking this box determines whether a script should be run before entering the edit form to create a new record in the database, which typically plans to populate other values using the “SCHEDULEDEFAULTVALUE” or “SCHEDULEDEFAULTVALUES” server function. A detailed description of the server functions is provided in the separate guide Server functions.
    • The following variables can be used in the script. A detailed description of the variables is provided in the separate guide Variables.
      • #planners#
      • #plannerresource#
      • #plannerresourcefrom#
      • #plannerresourceto#
      • #plannerto#
  • Deny opening records
    • Checking this box determines whether all users should be denied access to the edit form in order to open the displayed database record by clicking on an event in the planning calendar.
  • Deny Drag&Drop
    • Checking this box determines whether moving the events of the planning calendar by Drag&Drop should be disabled.
    • Moving an event or changing its start or end by dragging opens the edit form of the record with the new term and resource prefilled; the change is saved only when the edit form is saved.
    • If “Allow multiple assignments” is checked, the new term and resource are saved directly, without opening the edit form and without running its scripts, and only for a record the user is allowed to change. Likewise, clicking on a free space creates a new record directly.
  • Show abbreviated name of the day
    • Checking this box determines whether the abbreviated name of the day should be displayed in the lines of the planning calendar along with the date of the day.
  • Allow multiple assignments
    • Checking this box determines whether moving an event, changing its start or end and clicking on a free space are saved directly, without opening the edit form (see “Deny Drag&Drop”).
      • A record saved this way passes neither the validation of the edit form nor its scripts.
      • This applies to an anonymous user as well. A user may move only an event that the user is allowed to change according to the rights; a new record is always created. All anonymous visitors, however, share a single user account and are therefore the owners of every record created by any of them. If the owner may change a record, any anonymous visitor may thus change records created by another visitor as well.

2.2. “Resources” tab

2.2.1. Resources

  • Definition of resources that appear as individual columns of the planning calendar.
  • The source radio button contains the following two types of source definition:
    • Separated by Enter - the list of source values is set manually, in the text field using values separated by enter
    • From query – the list of resources defines a database query, which is evaluated when opening or updating the view page

2.2.2. Save resource ID to the database

  • Checking this box determines whether the database event records have a foreign key value stored in the resource value that references the primary key of the resource.

2.3. “Availabilities” tab

  • Availability definitions that determine the background color of individual planning calendar cells.
  • Availability visually highlights the days when it is possible to schedule a new event. Available days have a gray background, unavailable days have a white background.

2.3.1. Data source

  • The data source defines the source database availability records in the planning calendar.
  • Data source settings are made in the graphical designer of database queries. A detailed description of the database query designer is provided in the separate guide Database query designer.

2.3.2. From

  • Select a column that specifies the start date of availability in the planning calendar.

2.3.3. To

  • Select a column that specifies the end date of availability in the planning calendar.

2.3.4. Title

  • A column selection that specifies the availability title in the planning calendar, displayed as a tooltip over a given day and resource.

2.3.5. Resource

  • Select a column that specifies the source of availability in the planning calendar – the source for which availability is intended.

2.4. “Text” tab

2.4.1. Columns

  • Definition of the columns displayed in the planning calendar event text box.

2.5. “Tooltip” tab

2.5.1. Columns

  • Definition of the columns of details displayed when hovering the mouse over a planning calendar event.

2.6. “Rights” tab

2.6.1. Rights

  • Rights define a list of user groups and users who have permission to display the control on the view page.
  • For a new control, the rights are prefilled from the control at the position selected before inserting it; if no position is selected, from the rights of the view page.

2.6.2. Replace rights to other controls

  • The “Replace rights to other controls” feature is used to unify rights across the entire view page for controls that are related in terms of rights.
  • Thanks to the “Show...” link, it is possible to display a list of all controls on the view page, including the setting of the rights of these controls. A check box is displayed for each control to select it. When the control is saved, the same rights are then set for the selected controls.
  • An alternative for unifying rights within the entire view page is the overview of the rights settings of all controls, displayed by the “Show summary...” link on the “Rights” tab in the view page settings.

2.7. “Administration” tab

  • The “Administration” tab is only displayed for existing controls.

2.7.1. Location

  • Select the view page on which the control is located.
  • The drop-down list contains the view pages located in the same application and in the same category as the view page on which the control stands. For a view page without a category, it offers only view pages without a category. For a new control, it contains only the current view page.

2.8. “Save”, “Delete”, and “Close” buttons

  • “Save” button – Saves changes to the control settings.
  • “Delete” button – Permanently deletes the control.
  • “Close” button – Closes the control settings dialog without saving changes.