AnalyticsCreator Docs Preview

Test samples

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

Open this dialog from the test-table editor to capture sample rows for the test definition.

All windows and pages · Common controls and reading this reference

Review the DWH connection and the Query. Use Apply to load results, select the rows you need and use OK to return them to the editor.

Behavior and conditions

Apply validates the timeout, then executes the SQL text through the supplied connection string and displays the returned columns. The entered timeout applies to the query and is not saved to the shared repository parameter.

Controls

Find a control

General

Query

Results

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

Connection string

Connection used to execute the test-sample SQL when Apply is invoked. Initially populated from the warehouse connection.

Location: General. Control: Text field.

Query

Location: General. Control: Group.

Query

Query used to retrieve sample data for the test

SQL command text passed to SQL Server by Apply. The dialog initially loads the command supplied by the test-table editor.

Location: Query. Control: SQL editor.

General

Results

Location: General. Control: Group.

Results

Rows

Location: Results. Control: Table/grid.

Declared read-only.

General

Timeout (seconds)

Command timeout in seconds for Apply. Enter a positive whole number. The initial value comes from SOURCE_PREVIEW_TIMEOUT, with a fallback of 180 seconds if the parameter is missing or invalid.

Location: General. Control: Text field.

Apply

Executes the currently displayed SQL using the entered connection string and positive timeout, then replaces the displayed result.

Location: General. Control: Button.

OK

Returns the selected rows as definition text. Choose rows in the result grid before confirming.

Location: General. Control: Button.

Cancel

Closes without returning a selection to the test-table editor.

Location: General. Control: Button.

Scope

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

Search documentation