Asset Index — Configure & iModel Console

The Configure Asset Index tab and its integrated iModel Console provide administrative tools to define, refine, test, and persist unified asset breakdown rules across digital twin models.

Unlike single-aspect evaluation models, the Asset Index capability extracts and unifies physical component hierarchies across four distinct navigation dimensions: Location Breakdown Structure (LBS), System Breakdown Structure (SBS), Classification Breakdown Structure (CBS), and Work Breakdown Structure (WBS).


Access and Entitlements

Asset Configuration Selector


Configuration Storage Modes

The Asset Index supports two persistence modes:

Storage Mode Badge Description
Backend Service Backend (Green) Persisted directly to the central PostgreSQL digital twin database service. Configurations are accessible across all users and team members within the iTwin.
Local Storage Local (Grey) Operates in fallback mode when the central backend database service is offline or unauthenticated. Configurations are saved within the browser's local storage.

Managing Asset Index Configurations

Select an active configuration

Use the Active Asset Configuration dropdown menu in the page header to switch between existing configurations. Selecting a configuration immediately populates the builder with its metadata, LBS, SBS, CBS, and WBS breakdown parameters.

Create a new configuration

  1. Open the Active Asset Configuration dropdown.
  2. Select + Create New Configuration (requires Author entitlement).
  3. The application generates a default unified configuration template initialized with standard spatial levels, system classes, and taxonomy parameters.
  4. Enter a custom Configuration Name and Description.
  5. Select Save Configuration to commit the new configuration.

Reset to defaults

Select Reset to Defaults at any time to discard uncommitted edits and reset the builder fields to default values.

Unified Asset Config Builder


Core Metadata and Unique Identification

Section 1 of the Configuration Builder establishes how physical elements are uniquely identified and indexed:

1. Configuration Name and Description

Provide a clear, human-readable name (e.g. HS2 Mainline Asset Index v2.1) and optional description summarizing the project information requirement.

2. Canonical Unique Identifier Property

Specifies the primary property used to track unique physical assets across revisions and federated models:

3. Property Whitelist for Lean Storage

To optimize database storage and network payload efficiency, the Asset Index stores physical asset records using a lean property whitelist:


Interactive iModel Console & ECSQL Inspector

The iModel Console is an interactive diagnostic app built directly into the Configuration Builder. It enables authors, information managers, and schema engineers to inspect generated ECSQL pipeline queries and execute live ECSQL queries against the connected iModel.

Launching the iModel Console

In the Configuration Builder, select the iModel Console button located in the header of any tree breakdown section (LBS, SBS, CBS, or WBS). The console opens pre-configured for that specific breakdown pipeline.

iModel Console Dialog


iModel Console Modes

The console features two primary operation tabs:

Tab 1: Generated Pipeline ECSQL

Displays automatically generated ECSQL query statements derived from your active configuration rules:

Generated Query Templates by Pipeline

Pipeline Generated Query Focus Key ECSQL Constructs
LBS Tiered Spatial Containment SELECT st.ECInstanceId, ec_classname(st.ECClassId), st.UserLabel, st.ComposingElement.Id FROM spatial.Story st
SBS Physical System Memberships SELECT sys.ECInstanceId, sys.UserLabel FROM bis.PhysicalSystem sys
JOIN bis.PhysicalSystemGroupsMembers mem
CBS Aspect Class & Taxonomy Join SELECT aspect.Element.Id, aspect.ifcAssetClass FROM IFCDynamic.ifcAspect_PSET_HS2_Parameters aspect
WBS Work Package Assignment SELECT e.ECInstanceId, e.UserLabel, e.WorkPackage FROM bis.Element e WHERE e.WorkPackage IS NOT NULL

Tab 2: Live iModel Workbench & Tester

An interactive SQL/ECSQL query workbench for executing custom or pipeline queries against the active Bentley iModel API:

iModel Console Workbench

  1. ECSQL Editor: Enter or edit any valid ECSQL statement (e.g. SELECT ECInstanceId, UserLabel FROM bis.Element LIMIT 25).
  2. Run Live Query: Select Run Live Query to dispatch the query directly to the iModel query engine.
  3. Execution Metrics: View real-time query execution duration in milliseconds (e.g. Executed in 142ms).
  4. Interactive Results Grid: Inspect returned records in a sticky-header data table with column headers, formatted cell values, and null indicators.
  5. Error Diagnostics: If ECSQL syntax or schema errors occur, a clear error banner displays the detailed message returned by the Bentley iModel engine.

[!TIP] Use the Live iModel Workbench to verify that target ECClasses, property names, and relationship joins exist in your specific iModel before running full harvesting extractions.


Troubleshooting

Symptom Cause / Remedy
Save Configuration button is disabled or missing Verify that your user account holds the Author entitlement in the current license context.
Configuration changes revert after page refresh Ensure you select Save Configuration before navigating away. Unsaved edits exist only in temporary page state.
iModel Console displays "iModel Offline / Standalone" Ensure an iTwin and iModel are selected in the page context header so Bentley API session tokens can be established.
Live Workbench query returns ECSQL Execution Error Verify that class and property names match the exact case-sensitive schema definitions in the iModel. Use the Generated Pipeline ECSQL tab as a reference.

Related Documentation