Member Junction
    Preparing search index...

    Function WarnOnTemplateRestrictedFieldReferences

    • Log, once per (template, entity, field), that a template explicitly references a field kept out of shared indexes. The field renders empty: the value is withheld rather than the record skipped, so the rest of the document still indexes.

      Parameters

      • templateKey: string

        identifies the template (its ID or name) in the warning and the once-only key

      • templateText: string

        the template's source, scanned for the field names

      • entityName: string

        the entity whose fields are restricted

      • restricted: ReadonlySet<string>

        lowercased restricted field names

      Returns void