All loaded and enriched link items for the current record
Whether nullable outgoing links can be unlinked directly from the card list.
Emitted when the slide-in drawer requests to close.
Active direction filter: 'all', 'outgoing' (On This Record), or 'incoming' (Linked To This)
Error message if loading fails
Hover preview card state
Loading state
Whether the drawer is open when Mode === 'drawer'.
Emitted whenever the total loaded link count changes.
Active link type filter: 'both' (All Links), 'soft' (Cross-App Links), or 'hard' (Direct Relationships)
Emitted whenever the enriched links summary changes.
Rendering mode:
'inline': embedded widget for custom form sections or dashboards'drawer': slide-in drawer with backdrop and close headerEmitted when the user clicks a linked record card to navigate to it.
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.
Emitted when an outgoing link is unlinked or a target record is updated via Quick Edit.
Current search query
Currently selected entity filter chip (null means All)
Whether the collapsible Link Type filter panel is expanded
TrackKey of the outgoing link currently being unlinked
StaticɵdirStaticɵfacHuman-readable label for the active LinkFilter
Category chips for the top bar ("All (N)" + one chip per entity)
Count of Cross-App Links (IsSoftLink === true)
Count of Direct Relationships (IsSoftLink === false)
Final grouped items after applying DirectionFilter, LinkType, SearchText, and SelectedEntityName filters
Total count of currently visible items
Count of Incoming links ("Linked To This")
Items matching the active Direction, Link Type, and Search filters (prior to entity chip selection)
Count of Outgoing links ("On This Record")
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Total number of links loaded for this record
Clear search text
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.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
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.
Open <mj-record-preview-popover> when hovering over a link card
Schedule closing the hover preview popover when the pointer leaves a card
Request to close the drawer
Handle clicking a linked record card
Optionalevent: MouseEventHandle navigation emitted by [mjRecordLink] on a linked record card
Handle inline Quick Edit save emitted by [mjRecordLink] on a linked record card
Update search filter text
Update search filter text from DOM input event
Unlinks a nullable outgoing foreign-key or polymorphic-FK field on this.Record
and saves the record if it was already saved.
Reset all active filters back to defaults
Select a category chip by entity name (null for All)
Select a Direction filter ('all' | 'outgoing' | 'incoming')
Select a Link Type filter ('both' | 'soft' | 'hard')
Toggle the collapsible filter panel
StaticBuildSynchronously computes the outgoing links summary from the record's in-memory FK and polymorphic-FK fields without making any network calls.
StaticClearClear the static dependency cache (useful in unit tests).
StaticPrewarmPre-warms the total bidirectional link count (outgoing FK/polymorphic fields on the record
GetRecordDependencies) and caches the incoming dependencies so opening the
<mj-record-links> drawer reuses them without a duplicate network request.
Reusable
<mj-record-links>widget that displays all records linked to the currentRecordin both directions:RelatedEntity) and polymorphic-FK (EntityIDFieldName) fields populated on this record.GetRecordDependencies).Can be embedded inline inside any form section/dashboard (
[Mode]="'inline'") or rendered as a slide-in drawer ([Mode]="'drawer'").