Factory Configuration File Overview

The factory configuration file (factory) applies rules to standard input cBase data sets to produce enhanced cBase data sets with measures.

Workbench 7.1(1) and later, has a graphical interface for working with rules, measures, and data sets. Other components are set up using the script in Text Editor.

The factory configuration file has the following sections:

  • enable-teamer-integration—Enables Teamer collaboration by assigning IDs to the rules and measures.
  • take-parameter—Accepts parameter values at build time (starting with Workbench 7.1(13)).
  • current-date or default-current-date—Sets the date to a fixed date or to one retrieved from a file.
  • date-name—Specifies a localized name for the required Date element.
  • calendars—Defines the calendars that are used to process the Measure Factory.
  • time-ranges—Defines rolling month ranges to support time range QuickViews in DivePort.
  • runtime-parameters—Defines run time parameters to use in the Measure Factory.
  • lookup-tables—Defines the lookup tables, including columns and keys.
  • data-sets—Defines input sources, including the rules to be applied.
  • scopes—Defines an abstraction layer over the rules available in a data set. Often used to indicate which date column a measure uses—also allows you to create aliases for those dates. (Previously called views.)
  • dimensions—Lists cBase columns that are used for factory processing.
  • dimension-sets—Groups and names related collections of dimensions, which simplifies later reuse.
  • measures—Creates summarization by applying mathematical expressions to a specific set of rule values from a collection of records in one or more data sets.
  • user-pages-config—Specifies measures and dimensions for self-service pages.

The following example shows the main sections of a typical factory configuration file with all sections collapsed.

Factory Configuration File Basic Code Structure

For more information, see Measure Factory Editor.