AbstractProtected Optional_Optional provider override; falls back to Metadata.Provider when not set.
Protected Static__Resolved placeholders by cache key, in least-recently-used-first order.
Static ReadonlyMaxThe most resolved placeholders kept at once. Every record version adds entries (the key includes a hash of the record values), so the least recently used entry is evicted once the cache is full.
Allows setting or reading an explicit provider override for testing or isolated execution
ProtectedProviderReturns the active provider — explicit override if set, otherwise the global default.
StaticCachedThe number of resolved placeholders currently cached.
ProtectedevalEvaluates a single placeholder argument: either a function call like Relationship(...) or a field/path reference like Name or __Parent.Title.
Parses an entity document template and replaces values within ${} placeholders with actual values from the entity record. If template uses Nunjucks {{ }} syntax, it is pre-rendered with the MJ TemplateEngine first.
the document template to parse
the ID of the entity
the values for the entity record (may contain __Parent context)
the current user
the evaluated value of the template incorporating fields, nested contexts, and function call(s)
StaticClearStaticCreateBuilds the key a resolved placeholder is cached under. Placeholders such as Relationship() load
rows under the caller's permissions, so the key includes the user. It also includes a hash of the
record values the placeholder was resolved from: a caller that strips restricted fields from a
record must not be served a value resolved earlier from the full record, and a record whose values
changed must not be served the old value. Returns null when there is no user ID, in which case the
placeholder is resolved without caching.
a hash of the record values, from HashRecordValues
Protected StaticgetReturns a cached placeholder value and marks it most recently used, or undefined on a miss.
StaticHashA hash of a record's values (nested objects such as __Parent included), independent of key order,
so two records with the same values hash alike however they were built.
Protected StaticsetCaches a placeholder value, evicting the least recently used entries beyond MaxCachedPlaceholders.
Abstract base class for entity document template parsing. Use EntityDocumentTemplateParser or a subclass thereof.