Skip to main content

Event Ranges

Event Ranges allow you to define custom ranges and actions for everything, including time ranges for data retrieval queries, database time zones, and filter settings. You find the Event Ranges configurations under Site Settings (options28 icon) in the Document Actions panel.

SettingDescription
ConnectStringConnectString, DSN or Interface that defines the connection to the data source used in the query.
QuerySQL query or parameters to retrieve data for the event ranges. This query will require 2 parameters {STARTDATE} and {ENDATE} and an optional third parameter called {TYPE}. The results of this query should return event ranges between the passed in Start and End dates (optionally filtered by the {TYPE} parameter). The results must either contain the columns [StartDate or Start Date] and [EndDate or End Date] or contain the start date and end date as the first 2 columns. All columns in the result will be displayed. Requires ConnectString.
Query Date FormatFormatting applied to {STARTDATE}, {STARTDATE.Date}, {ENDDATE} and {ENDDATE.Date} parameters passed into the query. If this field is empty windows settings will be used.
Query Time FormatFormatting applied to {STARTDATE}, {STARTDATE.Time}, {ENDDATE} and {ENDDATE.Time} parameters passed into the query. If this field is empty windows settings will be used.
Database Time ZoneThe time zone setting for the database you are querying. Only set this field if the database time zone differs from the web server.
Result Start Date Column IndexColumn index within the resulting table that contains the Start Date.
Result Start End Column IndexColumn index within the resulting table that contains the End Date.
Use Type FilterControls whether or not the query and the UI will contain a pull-down for further filtering.
Type Filter LabelControls the label for the optional filtering pull-down. Default name is Type.
Type Filter ValuesSets the predefined values for the filtering pull-down. This should be a semicolon delimited list such as Batch;Shift;Plant or an ordinal|value semicolon delimited list (such as 1|Batch;2|Shift;3|Plant). If you use a ordinal|value list, the ordinal will be passed as the parameter.
Showing 1 to 10 of 10 entries

Feedback