OptionalDriverFor Custom resources, the registered driver class name
Font Awesome icon class (e.g., "fa-solid fa-database")
OptionalisWhether this is the default tab when the app opens
Display label for the navigation item
OptionalRecordFor Dashboard resources, the ID of the dashboard record
Type of resource: "Dashboards", "Custom", etc.
Describes a single navigation item in an Application's default tab bar.
Stored as a JSON array in the
DefaultNavItemscolumn of theApplicationsentity. CodeGen emits a strongly-typedDefaultNavItemsObjectaccessor onApplicationEntitythat returnsMJApplicationEntity_IDefaultNavItem[].When a user opens an application for the first time (or has no saved state),
BaseApplication.GetNavItems()parses this array to create the initial set of tabs. Each item maps to either a persisted Dashboard (viaRecordID) or a custom component registered with@RegisterClass(BaseResourceComponent, DriverClass).Exactly one item should have
isDefault: trueto indicate which tab is focused on load.