Member Junction
    Preparing search index...

    Explorer-side host for a single entity record in the main tab area.

    This is now a thin wrapper around the Generic <mj-entity-form-host> (in @memberjunction/ng-base-forms), which owns all the mechanics: resolving the form (class / custom / interactive override + variants), loading the record, dynamically creating the form, binding it, and tearing it down.

    SingleRecordComponent's only remaining job is the Explorer mapping: translating the host's framework-agnostic events into Explorer services — NavigateNavigationService, NotificationSharedService, record loads → RecentAccessService — none of which belong in a Generic component.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    entityName: string | null = ''
    loadComplete: EventEmitter<void> = ...
    newRecordValues: string | Record<string, unknown> | null = ''
    PrimaryKey: CompositeKey = ...
    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.

    recordDismissed: EventEmitter<void> = ...

    Emitted when the hosted form asks to be dismissed (e.g. Discard on a new record).

    recordSaved: EventEmitter<BaseEntity<unknown>> = ...
    "ɵdir": unknown
    "ɵfac": unknown

    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 RunReportToUse(): IRunReportProvider

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

      Returns IRunReportProvider

    • get RunViewToUse(): IRunViewProvider

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

      Returns IRunViewProvider

    Methods