Member Junction
    Preparing search index...

    Function GetPinnedAlternateBaseViewFromViewEntity

    • Extracts a pinned alternateBaseView semantic name from a loaded User View BaseEntity (DisplayState JSON column) without introducing a dependency from @memberjunction/core to @memberjunction/core-entities.

      Memoizes the parsed result per (viewEntity, rawDisplayState) in a WeakMap so hot paths (GetEffectiveAlternateBaseViewName across cache eligibility, fingerprinting, dedup, and telemetry) do not JSON.parse(DisplayState) on every call.

      Mirrors the ViewEntity.Get('EntityID') / ViewEntity.Get('WhereClause') access pattern in RunView.GetEntityNameFromRunViewParams and ProviderBase.ResolveRunViewEntitySync.

      Parameters

      Returns string