Repository extension

Overview

Repository extension scripts are custom SQL steps that extend or adjust the AnalyticsCreator repository after repository creation or update work. Use this script type for repository-level customization, such as adding supporting metadata, applying project-specific repository adjustments, or running maintenance logic that belongs to the repository rather than to a deployment or workflow package.

Function

Use Repository extension when the SQL logic is intended for the AnalyticsCreator repository itself. Scripts in this group are ordered by sequence number and then by script name in the navigation tree.

Repository extension 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 repository extension scripts are not assigned to workflow packages.

The Repository extension scripts context menu also includes an action to run the active repository extension scripts. When used, AnalyticsCreator runs each active script with SQL text in sequence order and confirms when the repository custom scripts have been applied.

Access

The Scripts branch contains a Repository extension scripts node. Its context menu provides List repository extension scripts, Add repository extension script, and an action for running active repository extension scripts.

How to access

Navigation tree

Scripts -> Repository extension scripts -> List repository extension scripts, Add repository extension script, or Run repository extension scripts

Toolbar

Scripts

Diagram

Not direct. Use the Scripts list or navigation tree.

Visual element

Define script -> Script type -> Repository extension

Screen overview

IDPropertyDescription
1Script typeSelects the SQL Script type. For this page the selected type is Repository extension.
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 Repository extension script group. A non-numeric value is rejected during validation.
5InactiveStores whether the script is disabled without deleting it. Disabled scripts are skipped when active repository extension scripts are run.
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 repository extension scripts opens the script list already scoped to Repository extension 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 Repository extension 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