DIQ_ConstantFolder
Overview
The
It allows constants to be grouped and stored using a tree-based folder structure, making constants easier to navigate, manage, and search within the host application or DimensionIQ user interfaces.
Folders can contain child folders, allowing nested structures to be created using parent-child relationships. For example, a folder hierarchy such as a/b/c can be represented using multiple
The host application is responsible for persisting
The host application may use persisted
Properties
| Property | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Unique identifier for the constant folder |
parentFolderKey | string | Yes | References the parent DIQ_ConstantFolder , used to create hierarchical folder structures |
name | string | Yes | Display name for the folder, used when rendering navigable folder trees and user interfaces |
Implementation Guidelines
Data Persistence
The host application is responsible for selecting and maintaining its own storage mechanism, which may include databases, file storage, object storage, or other suitable persistence solutions.
The host application should not create or modify
When a new
Folder Hierarchy
The
Root-level folders do not have a parent folder reference, while child folders reference their parent folder using
The host application should preserve these relationships exactly as provided by DimensionIQ to ensure the folder structure remains consistent when displaying, searching, or grouping constants.
Constant Organization
The host application may use the folder hierarchy to allow users to browse and locate constants more efficiently. Constants stored within folders can be grouped logically based on application requirements while maintaining a consistent structure across systems.
The host application should not use
Read-Only Behavior
All
The host application may read and use stored folder information for navigation and organization but should not modify the folder identifier, parent relationships, or display names.
Any changes to constant folders should be performed through DimensionIQ, which will provide the updated