Member Junction
    Preparing search index...

    Home Application - Provides dynamic navigation items for orphan resources.

    Maintains a recency-ordered stack of up to 3 recently visited orphan resources. When the user opens a record/view/dashboard from within the Home app, the resource appears as a dynamic nav item. When they navigate away (e.g., click Home), the nav item persists so they can quickly jump back. Older items drop off as new ones are added.

    The stack is persisted to localStorage (via Metadata.Provider.LocalStorageProvider) so it survives page reloads. Resolved record labels are stored alongside each snapshot to avoid async lookups when restoring from storage.

    User opens "John Smith" contact, then "Acme Corp" company:
    - Nav shows: [Home] [Favorites] | [person] "Acme Corp" [building] "John Smith"
    - Clicking "John Smith" re-opens that record

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    AutoUpdatePath: boolean

    When true, Path is automatically generated from Name on save

    ClassName: string

    TypeScript class name for ClassFactory

    Color: string

    Hex color code for theming

    DefaultNavItems: string

    JSON string of default navigation items

    DefaultSequence: number

    Default sequence position when adding to new user's User Applications

    Description: string

    Application description

    HideNavBarIconWhenActive: boolean

    When true, hide the Nav Bar icon when this application is active

    Icon: string

    Font Awesome icon class

    ID: string

    Application ID from database

    Name: string

    Application name

    NavigationStyle: "Both" | "App Switcher" | "Nav Bar"

    How the application appears in navigation

    Path: string

    URL-friendly slug for the application (e.g., "data-explorer" for "Data Explorer")

    Status: "Active" | "Pending" | "Disabled" | "Deprecated"

    Application lifecycle status - only Active apps are shown to users

    TopNavLocation: "Left of App Switcher" | "Left of User Menu" | null

    Position of permanent nav icon when NavigationStyle is Nav Bar or Both

    Accessors

    • get Provider(): IMetadataProvider

      Returns IMetadataProvider

    • set Provider(value: IMetadataProvider | null): void

      Parameters

      Returns void

    Methods

    • Creates the default tab request when user switches to this app. If app has navigation items, uses the first nav item. If app has no nav items, loads the first available dashboard preference for this app. Override in subclass for custom default tab logic.

      Returns Promise<TabRequest | null>

    • Returns the application color for theming. Override in subclass for dynamic color based on context.

      Returns string

    • Called to check if user has permission for a specific action. Override in subclass for permission checks.

      Parameters

      • action: string

      Returns boolean

    • Called when this application becomes the active app. Override in subclass for custom initialization logic.

      Returns Promise<void>

    • Called when user navigates away from this application. Override in subclass for cleanup logic.

      Returns Promise<void>