AnalyticsCreator Docs Preview

Source Constraints

On this page
  1. Behavior and conditions
  2. Related guidance
  3. Controls
  4. XAML preview
  5. Window layout
  6. Scope

From a source, open Source Constraints to define row checks used by supported generated SSIS import packages. Each row represents one rule for that source.

All windows and pages · Common controls and reading this reference

Choose an optional column, set the predicate and message expression, and decide whether the rule blocks the import of matching rows. Use Save to store the rules.

Behavior and conditions

The dialog loads constraints for the selected source and offers only its columns in the column selector. New rows receive that source ID. Save commits the grid changes and reloads the dialog without closing it. The editor does not run the constraint expressions on source data.

The SSIS generator copies the condition, message expression and rejection flag to the import descriptor. It resolves a column-specific constraint through the import column mapping. A constraint without a column is passed with no column descriptor. See the import constraint guide for generated package behavior.

A NULL, empty or whitespace-only message uses the default SSIS string literal "Error [ID]" or "Warning [ID]", based on the rejection flag. The generator passes a nonblank expression through unchanged.

Controls

Find a control

General

Source Constraints

Source Constraints / DataGrid

The entries include tabs, grid columns, fields and context-menu actions. Repeated captions can belong to different grids or menus. Selection-dependent and initially hidden controls are included; inclusion is not a promise that every control is visible at once. Fixed choices below are declared choices, not a platform support matrix.

XAML preview

WPF renders the compiled XAML view with the application styles and empty fields. The image variant follows the documentation color theme.

Window layout

XAML illustration: Window layout XAML illustration: Window layout

General

Source Constraints

Location: General. Control: Group.

Source Constraints

Rows

Location: Source Constraints. Control: Table/grid.

Source Constraints / DataGrid

Column

Optional source column associated with the rule. Whole-row rules may leave it blank; multiple rules can reference the same column.

Location: Source Constraints / DataGrid. Control: Dropdown column.

Do not import

Stores the IsError flag used by generated SSIS import validation.

Location: Source Constraints / DataGrid. Control: Checkbox/status column.

Statement

SSIS expression evaluated for each row in the generated import. A true result evaluates the message expression.

Location: Source Constraints / DataGrid. Control: Text column.

MessageStatement

SSIS expression returning the message when the predicate is true. Provide a quoted SSIS string expression for constant text.

Location: Source Constraints / DataGrid. Control: Text column.

Description

Repository description identifying the purpose of this rule.

Location: Source Constraints / DataGrid. Control: Text column.

General

Save

Submits the rule changes and reloads the grid. This does not execute the expressions or regenerate an import package.

Location: General. Control: Button.

Cancel

Closes the window. Changes committed by an earlier Save remain in the repository.

Location: General. Control: Button.

Scope

Options can depend on the selected object, its saved values and the current repository.

Search documentation