Member Junction
    Preparing search index...

    Reusable <mj-record-links> widget that displays all records linked to the current Record in both directions:

    • Outgoing ("On This Record"): foreign-key (RelatedEntity) and polymorphic-FK (EntityIDFieldName) fields populated on this record.
    • Incoming ("Linked To This"): records across the workspace referencing this record via hard FKs or polymorphic/soft links (GetRecordDependencies).

    Can be embedded inline inside any form section/dashboard ([Mode]="'inline'") or rendered as a slide-in drawer ([Mode]="'drawer'").

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    AllItems: RecordLinkItem[] = []

    All loaded and enriched link items for the current record

    AllowQuickUnlink: boolean = true

    Whether nullable outgoing links can be unlinked directly from the card list.

    Close: EventEmitter<void> = ...

    Emitted when the slide-in drawer requests to close.

    DirectionFilter: RecordLinkDirectionFilter = 'all'

    Active direction filter: 'all', 'outgoing' (On This Record), or 'incoming' (Linked To This)

    ErrorMessage: string | null = null

    Error message if loading fails

    HoverAnchorRect: RecordPreviewAnchorRect | null = null
    HoveredItem: RecordLinkItem | null = null

    Hover preview card state

    IsLoading: boolean = false

    Loading state

    IsOpen: boolean = true

    Whether the drawer is open when Mode === 'drawer'.

    LinkCountChange: EventEmitter<number> = ...

    Emitted whenever the total loaded link count changes.

    LinkFilter: RecordLinkFilterType = 'both'

    Active link type filter: 'both' (All Links), 'soft' (Cross-App Links), or 'hard' (Direct Relationships)

    LinksSummaryChange: EventEmitter<RecordLinksSummary> = ...

    Emitted whenever the enriched links summary changes.

    Mode: "inline" | "drawer" = 'inline'

    Rendering mode:

    • 'inline': embedded widget for custom form sections or dashboards
    • 'drawer': slide-in drawer with backdrop and close header
    Navigate: EventEmitter<FormNavigationEvent> = ...

    Emitted when the user clicks a linked record card to navigate to it.

    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    RecordLinkModified: EventEmitter<
        { Action: "unlinked"
        | "updated"; Item: RecordLinkItem },
    > = ...

    Emitted when an outgoing link is unlinked or a target record is updated via Quick Edit.

    SearchText: string = ''

    Current search query

    SelectedEntityName: string | null = null

    Currently selected entity filter chip (null means All)

    ShowFilterPanel: boolean = false

    Whether the collapsible Link Type filter panel is expanded

    UnlinkingTrackKey: string | null = null

    TrackKey of the outgoing link currently being unlinked

    "ɵdir": unknown
    "ɵfac": ɵɵFactoryDeclaration<BaseAngularComponent, never>

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods

    • Load bidirectional links for this.Record (both outgoing FK / polymorphic FK fields on this record and incoming dependencies via GetRecordDependencies), filter out system telemetry entities and unreadable entities, and batch-enrich record names/dates via RunViews.

      Parameters

      • forceRefresh: boolean = false

      Returns Promise<void>

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns void