Constants

Constants

Source:

Application global variables and constants to set to configure default layout, workflows and more. Learn how to override layout and workflow constants in the docs.

Members

(static, constant) DEFAULT_FILTER_NAME :String

Default filter name

Source:
Type:
  • String

(static, constant) DEFAULT_LAYOUT :string

Use this to override a default layout. Learn what layouts are and how to create a custom layout in the docs.

Source:
Type:
  • string
Example
import { Session } from "meteor/session";
Session.set("DEFAULT_LAYOUT", "customCoreLayout");

(static, constant) DEFAULT_WORKFLOW :string

Use this to override and set default workflow

Source:
Type:
  • string

(static, constant) INDEX_OPTIONS :string

Use this to override the home Package

Source:
Type:
  • string
Example
Session.set("INDEX_OPTIONS", {
    template: "customHomePageTemplate",
    layoutHeader: "NavBar",
    layoutFooter: "Footer",
    notFound: "notFound",
    dashboardControls: "dashboardControls",
    adminControlsFooter: "adminControlsFooter"
  });

(static, constant) ITEMS_INCREMENT :number

Set default number of items to load for product grid

Source:
Type:
  • number

(static, constant) ORDER_LIST_FILTERS_PREFERENCE_NAME :String

Preference name for orderList filters when using using Reaction.[get|set]UserPreferences()

Source:
Type:
  • String

(static, constant) ORDER_LIST_SELECTED_ORDER_PREFERENCE_NAME :String

Preference name for selected order _id when using Reaction.[get|set]UserPreferences()

Source:
Type:
  • String

(static, constant) PACKAGE_NAME :String

Package name

Source:
Type:
  • String

(static, constant) shippingStates :String

Order shipping states

Source:
Type:
  • String

(static, constant) shippingStatus :String

Order workflow states

Source:
Type:
  • String

(static, constant) workflowStatus :String

Order workflow states

Source:
Type:
  • String