Skip to main content

Object Editor

BimlFlex Objects are data sets defined in metadata.

Objects closely mirror a Relational Database table, though not every object will translate directly to a table because BimlFlex also supports flat files, Excel documents and, via use of Extensions Points, APIs calls. Instead of using multiple entity types to handle these different sources of data, BimlFlex defines each as an object and uses the Object Type field to annotate what type of object is being referenced.

Objects are created and edited using the Object Editor in the BimlFlex Application.

Overview​

Objects are displayed in a hierarchical Treeview on the left Side Navigation menu. The treeview is organized by Connection > Objects > Columns, with the number of child items displayed in parentheses.

BimlFlex Object Editor

note

Detailed descriptions of all Object Editor fields and options are available in the Reference Documentation.

Selecting an Object with multiple tables will display a secondary list of all editable options within. The user may navigate to the Object editor screen by selecting any Object from the displayed list.

Selecting an Object with a single table will immediately navigate the user to the Object editor screen.

BimlFlex Object Editor - List

The treeview for Objects is expandable/collapsible by clicking the icons.

Selecting the checkbox(es) icon will enable users to bulk archive multiple Objects at one time.

Any instance of the icon will serve as a Global Navigation Transition. Clicking this icon will navigate the user directly to the referenced Connection, Object, or Column.

Toggling Descendants will enable or disable all parameters for both the currently selected node and all of its descendant nodes. This option is enabled by default.

The Search field is contained within the treeview menu, and will be hidden when collapsed. The Search field will return results in real-time, only presenting Objects containing the term being searched.

BimlFlex Objects - Search Field

Object Tab​

The Object Tab focuses on general Object information and configuration. This tab is used to define and create the Object itself.

Object Tab - Action Buttons​

BimlFlex - Object Editor Actions

IconActionDescription
SaveThis will save the current set of staged changes. The Save button is will only enable if the Object has changes staged and there are no major validation issues with the current Object properties. A value longer than a field's maximum length stops the save, and the message under the field names the limit.
DiscardThis will Discard any unsaved changes and revert to last saved form.
ArchiveThis will hard delete the selected Object. This will result in the physical removal of the selected record from the metadata database. The data will no longer be accessible by the BimlFlex Application and will require a Database Administrator to restore, if possible. Clicking Archive creates an Archive Object Dialog.
CloneThis will bring up Clone Table Dialog that is used primarily in the creation and loading of a Data Mart.
DuplicateA Duplicate Table Dialog will appear asking for a Target Table Name.
RefreshThis will trigger a refresh of the metadata for the selected Object.
AccelerateThis will transition to the Data Vault Accelerator and select the current active Object. See the annotated link for details on use and function.
DiagramThis will transition to the Schema Diagram and select the current active Object. See the annotated link for details on use and function.
LineageThis will transition to the Data Lineage and select the current active Object. Data Lineage provides and insight to the data linage of the Object. See the annotated link for details on use and function.
ExcludedThis will determine if the Object and its metadata will be exluded along with the rest of the BimlFlex solution. This is designed to be paired with the Use My Exclusions (Locally) global setting to allow for multiple developers to work on different functional areas without deleting or globally excluding entities.
DeletedThis will soft delete the currently selected Object. This will remove the Object and all associated entities from processing and validation. For information on how to add excluded or deleted items back to the scope, please read our tips and tricks section.

Additional Dialogs​

Archive Object Dialog​

Confirmation warning against the dangers of archiving. You are required to confirm by both the check box and the Ok button.

Archive Object Dialog -mtb-20-image

warning

Archiving is a permanent removal of the selected entity from its associated table in the BimlFlex Database. The best practice is to first use the Deleted flag (soft delete) as an indication that the connection may need to be removed.

Clone Table Dialog​

The Clone Table feature is primarily provided to allow for quick generation of Dimensions and Facts, but it can also be used to quickly define a new target Object for a given selected (source) Object. The location where the new target object is created is derived from the Project configuration of which the selected object is part of.

For example, if a given object is part of a project that targets a Data Vault Connection, the cloned object will be created in this connection.

The most common use case for using the clone feature is to create a Data Mart target for a manually created view, typically sourcing from the Data Vault. This view has already been created for the intended target state and structure.

note

Please refer to the Data Mart section for more information on delivering data using Data Marts and Dimensional Models.

When cloning an object, please provide the intended Target Schema, choose your Target Object Type, set your Clone Table Options and click Save.

Clone Table Dialog - mtb-20-image

Clone Table Options​
OptionDescription
Overwrite ExistingWhen enabled, if the Object or associated Columns already exist, the Object and/or Columns will be overridden with current settings. When disabled only not existing entities will be created.
Add Target Column MappingsThis will automatically map the appropriate Target Columns to the columns of the source object.
Add Identity ColumnAdds an Identity Column that can be used as the Surrogate Key (SK) for the cloned table that can be defined as Primary Key. The identity column automatically provides an incremental number value so that each record is guaranteed to be unique. This is common for a Dimension Object to support Type 2 (history tracking) values. It is generally not used when designing a Fact Object, unless there is a specific use case. Please note that when providing this column, the Primary Key is automatically enabled and the ordinal position will be set to '1'.

Duplicate Table Dialog​

Use this dialog to duplicate the selected Object.

danger

Overrides and Parameters are not copied over.

Duplicate Table Dialog - mtb-20-image

Duplicate Table Options​
OptionDescription
Overwrite ExistingIn a database workspace, check this to overwrite the Object that already has the Target Schema and Target Table Name on the same connection.

Object Tab - Standard Fields​

The standard fields hold the bulk of the metadata that will be used to integrate the Object. Additional fields to manage the modeling and the ability to toggle Object level persistence is provided.

Object Editor Fields

Object Tab - Business Overrides Fields​

Business Overrides Fields

Allowed Values​

Object Types​

Object Types are configured using the Object Editor and drive the behavior and purpose of the Object for the design and code generation process. The available object types are dependent on the way the Connection is used in a BimlFlex Project. Depending on the connection's Integration Stage and System Type some options may, or may not be, available.

Change TypeCodeDescriptionAllowed for Integration StageAllowed for System Type
BridgeBRGDefines the object as a Data Vault Bridge entity.Business Data Vault, Data VaultAll
DimensionDIMDefines the object as a Dimension Table in a Dimensional Model / Data Mart.Data MartAll
Exclude in AcceleratorEXCFlags an object to not be included in the Data Vault Accelerator.Source SystemAll
FactFCTDefines the object as a Fact Table in a Dimensional Model / Data Mart.Data MartAll
Flat FileFILDetermines that the object is a flat file.File Export, Source SystemAvro Format, Binary Format, Delimited Format, JSON Format, ORC Format, Parquet Format, Ragged Right Format , XML Format
HubHUBDefines the object as a Data Vault Hub entity.Business Data Vault, Data VaultAll
IgnoreIGNSetting an object to Ignore will remove it from any processing and/or visualisation in BimlFlex. No Staging Area or Persistent Staging Area objects will be derived.AllAll
JsonJSONDetermines that the object is a flat file in JSON format. Only applies when used for a REST API connection.Source SystemRest Service
LinkLNKDefines the object as a Data Vault Link entity.Business Data Vault, Data VaultAll
Link SatelliteLSATDefines the object as a Data Vault Link-Satellite entity.Business Data Vault, Data VaultAll
Point In TimePITDefines the object as a Data Vault Point-In-Time (PIT) entity.Business Data Vault, Data VaultAll
ReferenceREFDetermines that this object will be generated as a stand-alone historized table in a Data Vault context.Business Data Vault, Data VaultAll
Reference SatelliteRSATDetermines that this object will be generated as a stand-alone (unconnected) Satellite in a Data Vault context.Business Data Vault, aw Data VaultAll
SatelliteSATDefines the object as a Data Vault Satellite entity.Business Data Vault, Data VaultAll
Stored ProcedureSPFor source objects only, determines the the object is a stored procedure whose output must be ingested into the data solution by BimlFlex.Source SystemAzure SQL Database, Azure Synapse, Microsoft SQL Server
Staged ObjectSTQDefines the object as an object that is derived from other existing objects. This will be treated as a data source, but no Staging Area and/or Persistent Staging Area components will be generated. For more details, please refer to the Staged Object Concept.Source SystemAzure SQL Database, Azure Synapse, Microsoft SQL Server, Snowflake Data Warehouse
TableTBLThis is the default object type in BimlFlex. A Table property for the object means that no specific behaviour is applied by the BimlFlex code generation processes.Business Data Vault, Landing Area, Master Data Services, Persistent Staging Area, Data Vault, Source System, Staging AreaAzure Synapse, COZYROC Excel File, COZYROC Salesforce, DB2, Dynamics CRM, Microsoft SQL Server, MySql, Oracle, Oracle RDB, PostgreSQL, Salesforce, Salesforce Marketing Cloud, Salesforce Service Cloud, Snowflake Data Warehouse, Sybase, Teradata
CDC AllTCADetermines that the object is configured for Change Data Capture, querying the full history of available changes. BimlFlex will generate specific code to query the object.Source SystemMicrosoft SQL Server
CDC LastTCLDetermines that the object is configured for Change Data Capture, but only retrieves the last value every time data is loaded. BimlFlex will generate specific code to query the object.Source SystemMicrosoft SQL Server
Change TrackingTCTDetermines that the object is configured for Change Tracking. BimlFlex will generate specific code to query the object.Source SystemMicrosoft SQL Server
ViewTBVDefines the object as a database view. Used when the source object is a view rather than a physical table. BimlFlex will query the view during extraction but not generate DDL for the source.Source System, Data Vault, Business Data VaultAzure SQL Database, Azure Synapse, Microsoft SQL Server, Snowflake Data Warehouse

Object Tab - Query Overrides Fields​

The Query Overrides panel holds the fields below. The SQL fields are for advanced use by someone who knows the SQL that is needed.

FieldDescription
From SqlOptional alternative FROM clause to be used during generation of the SQL statement.
Object AliasDefines an alias (short name) for the Object. This is relevant in conjunction with the JOIN and/or Where SQL properties.
Join SqlOptional additional JOIN clause(s) to be used during generation of the SQL statement. Commonly used when data needed to generate a complete Integration Key requires the use of a Foreign Key or additional relationship.
Where SqlOptional additional WHERE clause to be used during generation of the SQL statement. Used to generate an filter that otherwise could not be generated by the use of a standard parameter.
Override SqlThis should only be used as a last resort and only if there is no way to dynamically generate the statement required.
Select By SqlOptional DISTINCT or TOP N SELECT clause.
Group By SqlOptional GROUP BY clause to be used during generation of the SQL statement. Used when the source Object requires a condensing of grain. Prior to using this clause, ensure that the generated SQL statement will not generate any unwanted results and that the grain can actually be condensed with the designed statement with issue.
Order By SqlOptional ORDER BY clause to be used during generation of the SQL statement.
Create SqlOptional SQL that BimlFlex writes in place of the SQL it generates to create each table it builds from this Object, in the Create Table Script, the SSDT project, the SnowDT project and the Snowflake Table Script, though a Fabric Lakehouse table can keep the generated SQL in the Create Table Script. For a source Object these can be its staging, landing or external, persistent staging, delete and delete landing tables, and for a Dimension or Fact also its table in the Target Stage Connection. The same text goes in place of each of them, so a text that creates only one table, such as the staging table, leaves the others not created. When this field is filled in, the Create SQL extension point is not used for this Object. The Azure Synapse Table Script, the PolyBase External Table Script, the files that a build writes for Databricks or a Fabric Lakehouse, and Point in Time and Bridge tables do not use it.
Source Create SqlOptional SQL that creates this Object itself, such as a view or a stored procedure.
Depends on ObjectWhen an Object is selected, ensures that the linked Object must be processed prior to the processing of the current Object. This is only used for Objects that can not have their dependencies generated dynamically. BimlFlex maintains and enforces dependency trees for Objects generated through the tool.
Inherit from ObjectWhen an Object is selected, uses the columns from the entered Object, similar to a Roleplaying Dimension. Used when the same table is used to process multiple business concepts. Only additional Columns unique to the current Object will show on the Columns list. Inherited Columns will only show in the Inherit from Object.
Same As InheritedDefines if the Inherit from Object is the same Object. When set to true this will instruct BimlFLex to reuse the inherited tables for loading.
Use Inherited NameDefines if the Inherit from Object has the same Object. When set to true this will instruct BimlFlex to reuse the inherited tables Object Name for loading.

Columns Tab​

The Columns Tab provides quick access to all Columns included in the Object.

Action Buttons​

IconActionDescription
AddAdd will open an Add Column Dialog for creating a new Column and assign it to the current entity. When adding an Column via this button Connection and Object will be pre-filled on the created dialog box.
SaveThis will save the currently set of staged changes. The Save button is only enabled if the Column has changes staged and there are no major validation issues with the current Column properties.
ArchiveThis will hard delete the selected Column. This will result in the physical removal of the selected record from the metadata database. The data will no longer be accessible by the BimlFlex Application and will require a Database Administrator to restore.
RefreshThis will trigger a refresh of the metadata for the selected Columns.
Integration KeyThis will bring up the dialog to create an Integration Key.

Additional Dialogs​

Add Column Dialog​

Creates a Column and associates it with the current entity. Once entry is finished ensure that the Save button is clicked.

Add Column Dialog - mtb-20-image

Archive Column Dialog​

Confirmation box warning against the dangers of archiving. You are required to confirm by both the check box and the Ok button.

Archive Multiple Columns Dialog -mtb-20-image

warning

Archiving is a permanent removal of the selected entity from its associated table in the BimlFlex Database. The best practice is to first use the Deleted flag (soft delete) as an indication that the connection may need to be removed.

Generate Derived Integration Key Dialog​

The Generate Derived Integration Key dialog will allow you to quickly generate an Integration Key. The selected Columns from the prior screen should already be selected and a Column Name is automatically populated based on the associated Objects Model Override Name or, if that is empty, the Object Name. The "_BK" suffix can be controlled with the Setting AppendIntegrationKey.

Generate Derived Integration Key Dialog -mtb-20-image

Generate Derived Integration Key Options​
OptionDescription
Add Record SourceThis will prefix the @@rs to the Column Expression. @@rs will generate the value currently assigned to Record Source on the associated Connection.
Is Integration KeyThis will flag the generated Column to become the Integration Key for the associated Object. Once selected it will automatically update Column Ordinal to "0" and also Is Primary Key to true.
Is Primary KeyThis will flag the generated Column as a Primary Key for the associated Object.

Columns Tab Views​

All Columns assigned to the current entity show here. New items can be entered entered via the Add action button. Existing items can be edited by double clicking the field needing adjustment. All the views have the same links to the Column.

ItemActionEntity Documentation
Column ValueNavigate to Column Editor, selecting clicked ColumnColumn Documentation

Overview​

The Overview is available to give quick access to the more physical properties of the Columns relating to the selected entity. These are representations of the physical Source System and represent the raw definitions of the object in it's original form. Quick access is also provided for the various keys used across the separate Integration Layers or Integration Stages.

Settings​

The Settings view allows for quick access to all the Boolean and flag properties associated with the Columns. In addition to the keys the ability to flag database concepts (such as IDENTITY or NULL), persistence, whether or not the Column is Derived, and the ability to flag as Excluded or Deleted.

Expressions​

The Expressions view allows you to quickly view and manage all the expressions that may be used in the CAST, CONVERT, or general transformations that may be performed on any given Column. All values in this view are used to determine the ETL/ELT logic and transformation dataflow.

Mappings​

The Mappings view shows the references and targets associated with the Columns. References are the equivalent of a Foreign Key in a Relational Database, though the enforcement of an actual constraint is configurable. References control how and where other tables relate to each other. Targets are the the Object and Column that the entity will populate in the associated Project's Target Connection. It is recommended that you use the Data Vault Accelerator or the Schema Diagram to populate these fields. This view is intended as easy way to reference and maintain previously entered metadata.

Overrides​

The Overrides view is available to allow for quick management of modeled metadata from the Data Vault Accelerator or the Schema Diagram. This view is intended as easy way to reference and maintain previously entered metadata.

Overrides Tab​

The Overrides Tab provides a view of the overrides that have been applied to the selected Object and to its Columns.
Above the grid, the Effective values pane names, for each key it lists, the scope the BimlFlex app takes its value from for this Object.

Action Buttons​

The overrides named in the first sentence of the Overrides Tab section show here. New items can be entered via the Add action button. Existing items can be edited by checking the box at the start of the row and using the Edit action button. Various navigational transitions are available on this form and outlined below.

The following options are available:

IconActionDescription
AddAdd will create a new Override and assign it to the current entity. When adding an override via this button, Attribute Type and the respective linked fields, will be pre-filled on the created Add Override Dialog.
SaveSave will save the current set of staged changes. The Save button is only enabled if any Override has changes staged and there are no major validation issues with the current list of Override properties.
DiscardThis will Discard any unsaved changes and revert to last saved form.

When checking a single Override in the grid two additional options will become visible. When selecting two or more overrides only the Archive option will be visible.

IconActionDescription
ArchiveArchive removes the selected Overrides. Clicking Archive will create an Archive Override Dialog.
EditEdit will open an Edit Override Dialog to edit the currently selected Override. After edits are complete, be sure to click the Save button to confirm the changes.

Additional Dialogs​

Add Override Dialog​

Creates an Override and associates it with the current entity. Once entry is finished ensure that the Save button is clicked.

Edit Override Dialog​

Edit the selected Override. Once entry is finished ensure that the Save button is clicked.

Archive Override Dialog​

A warning asks you to confirm the archive. Check I understand and confirm this archive operation when the dialog shows it, then click Archive.

Archive Multiple Attributes Dialog -mtb-20-image

warning

Archiving deletes the selected Overrides. The best practice is to first use the Deleted flag (soft delete) as an indication that the override may need to be removed.

Overrides Tab View​

The Overrides Tab provides a different way to review the properties of the overrides listed for the selected entity.

Overview​

The grid has the following columns:

ComponentTypeDescription
ObjectNavigational ValueThe Object the override is applied to. The Batch, Connection and Project editors show this column. See the Object Editor documentation for more details.
ColumnNavigational ValueThe Column the override is applied to. See the Column Editor documentation for more details.
AttributeNavigational ValueThe name of the override.
ValueValueThe Attribute Value of the override.
PropertyValueThe Attribute Property of the override.

From the Overrides Tab, it is possible to navigate directly to the following areas of BimlFlex:

ItemAction
ObjectOn the Batch, Connection and Project editors, navigate to the Object Editor by clicking
ColumnNavigate to Column Editor, selecting clicked Column
AttributeNavigate to Overrides Editor, selecting the clicked override

Parameters Tab​

The Parameters Tab provides a view of the Parameters that have been applied to the selected Object and to its Columns.

Action Buttons​

The Parameters whose Connection or Object is the current entity show here. New items can be entered via the Add action button. Various navigational transitions are available on this form and outlined below.

IconActionDescription
AddAdd will create a new Parameter and assign it to the current entity. When adding a parameter via this button, the current entity will be pre-filled on the Add Parameter Dialog.
SaveSave will save the current set of staged changes. The Save button is only enabled if any Parameter has changes staged and there are no major validation issues with the current list of Parameter properties.
DiscardThis will Discard any unsaved changes and revert to last saved form.

When checking a single Parameter in the overview two additional options will become visible. When selecting two or more parameters only the Archive option will be visible.

IconActionDescription
ArchiveArchive removes the selected Parameters. Clicking Archive will create an Archive Parameter Dialog.
EditEdit will open an Edit Parameter Dialog to edit the currently selected Parameter. After edits are complete, be sure to click the Save button to confirm the changes.

Additional Dialogs​

Add Parameter Dialog​

Creates a Parameter and associates it with the current entity. Once entry is finished ensure that the Save button is clicked.

Add Parameter Dialog - mtb-20-image

Edit Parameter Dialog​

Edit the selected Parameter. Once entry is finished ensure that the Save button is clicked.

Edit Parameter Dialog -mtb-20-image

Archive Parameter Dialog​

A warning asks you to confirm the archive. Check I understand and confirm this archive operation when the dialog shows it, then click Archive.

Archive Multiple Parameters Dialog - mtb-20-image

warning

Archiving deletes the selected Parameters. The best practice is to first use the Deleted flag (soft delete) as an indication that the parameter may need to be removed.

Parameters Tab View​

The Parameters Tab View provides a different way to review the properties of the Parameters associated with the selected entity.

Overview​

Parameters Tab Table Components​

ComponentTypeDescription
ObjectValueThe Object the Parameter is applied to. The Connection editor shows this column. See Objects Documentation.
ColumnValueThe name of the Column within the current entity. See Columns Documentation.
ParameterNavigational ValueThe name of the Parameter that is being applied to the selected entity. See Parameters Documentation.
OperatorValueOperator to use in the Parameter when applied to the source Column.
DefaultDateThe parameter load value to use for the first load.
Data TypeValueThe data type to use for the Parameter. Must be a valid data type. See Valid Data Types.

From the Parameters Tab, it is possible to navigate directly to the following areas of BimlFlex:

ItemAction
ObjectOn the Connection editor, navigate to Object Editor by clicking
ColumnNavigate to Column Editor, by clicking
ParameterNavigate to Parameter Editor, selecting the clicked Parameter