Pre-creation

Overview

Pre-creation scripts are custom SQL steps used to prepare the target environment before AnalyticsCreator continues with database creation work. Use this script type for setup logic that must be in place before the database structure is created, such as preparing required settings, creating supporting prerequisites, or applying environment-specific preparation steps.

Function

Use Pre-creation when the SQL logic belongs before database creation rather than after creation, before deployment, or during workflow execution. Scripts in this group are ordered by sequence number and then by script name in the navigation tree.

Pre-creation uses the shared Define script page. The editor stores the script type, script name, description, sequence number, inactive flag, and SQL text. The package assignment grid is hidden for this type because package assignment is only shown for workflow script types.

Access

The Scripts branch contains a Pre-creation scripts node. Its context menu provides List pre-creation scripts and Add pre-creation script, both preselecting the Pre-creation script type.

How to access

Navigation tree

Scripts -> Pre-creation scripts -> List pre-creation scripts, or Add pre-creation script

Toolbar

Scripts

Diagram

Not direct. Use the Scripts list or navigation tree.

Visual element

Define script -> Script type -> Pre-creation

Screen overview

IDPropertyDescription
1Script typeSelects the SQL Script type. For this page the selected type is Pre-creation.
2NameDefines the script name. Save validation requires a non-empty value.
3DescriptionStores the optional script description shown in the script list.
4Sequence numberControls ordering inside the Pre-creation script group. A non-numeric value is rejected during validation.
5InactiveStores whether the script is disabled without deleting it.
6OriginalShows the editable SQL script text.
7ParsedShows the macro-parsed preview of the SQL script in a read-only field.
8ScriptContains the SQL body. Save validation requires a non-empty script.
9CancelReturns to the previous page without saving changes.
10SaveValidates the script fields, stores the SQL Script, and refreshes the navigation tree.

List behavior

List pre-creation scripts opens the script list already scoped to Pre-creation scripts. The list can filter by script name, shows Name, Type, and Description, and opens the Define script page when a row is double-clicked.

The New button opens a new script with Pre-creation already selected. Delete removes the selected script after confirmation. The up and down buttons swap sequence numbers only between scripts of the same script type.

Related topics