Member Junction
    Preparing search index...
    interface CloneFieldMappingContext {
        CurrentUserId?: string;
        EntityName: string;
        FieldRules?: {
            Exclude?: string[];
            JsonRemap?: {
                Field: string;
                Preset?: "dashboard-ui-config" | "scheduled-job-configuration";
                Rules?: JsonRemapRule[];
            }[];
            Ownership?: string[];
            PromptFor?: string[];
            Reset?: Record<string, unknown>;
            Rules?: {
                Rules?: {
                    Field?: string;
                    Source?: { Field?: string; Kind: string; Value?: unknown };
                    TargetField?: string;
                }[];
            };
            ServerAllocated?: string[];
        };
        Fields: FieldMappingFieldMeta[];
        FLS?: { DeniedCreateFields?: string[]; DeniedReadFields?: string[] };
        HierarchyParentField?: string;
        IsRoot?: boolean;
        KeyMap?: Record<string, string>;
        NamingOptions?: NameTemplateOptions & {
            ExistingNames?: Set<string>;
            ExistingNamesByField?: Record<string, Set<string>>;
            UserName?: string;
        };
        NewParentKey?: unknown;
        PromptedValues?: Record<string, unknown>;
        RequestFieldsEditable?: boolean;
        RequestOverrides?: Record<string, unknown>;
        SourceRecord: Record<string, unknown>;
    }
    Index

    Properties

    CurrentUserId?: string
    EntityName: string
    FieldRules?: {
        Exclude?: string[];
        JsonRemap?: {
            Field: string;
            Preset?: "dashboard-ui-config" | "scheduled-job-configuration";
            Rules?: JsonRemapRule[];
        }[];
        Ownership?: string[];
        PromptFor?: string[];
        Reset?: Record<string, unknown>;
        Rules?: {
            Rules?: {
                Field?: string;
                Source?: { Field?: string; Kind: string; Value?: unknown };
                TargetField?: string;
            }[];
        };
        ServerAllocated?: string[];
    }
    FLS?: { DeniedCreateFields?: string[]; DeniedReadFields?: string[] }
    HierarchyParentField?: string
    IsRoot?: boolean
    KeyMap?: Record<string, string>
    NamingOptions?: NameTemplateOptions & {
        ExistingNames?: Set<string>;
        ExistingNamesByField?: Record<string, Set<string>>;
        UserName?: string;
    }

    Type Declaration

    • OptionalExistingNames?: Set<string>
    • OptionalExistingNamesByField?: Record<string, Set<string>>

      Values already in use, per field, so a rename avoids them. Takes precedence over ExistingNames.

    • OptionalUserName?: string
    NewParentKey?: unknown
    PromptedValues?: Record<string, unknown>

    Values the user supplied for FieldRules.PromptFor fields. Other fields are ignored.

    RequestFieldsEditable?: boolean

    The entity's UserEditable allows field edits ('fields' or 'all'). Default true.

    RequestOverrides?: Record<string, unknown>

    Request-level field values. Applied only when RequestFieldsEditable, and never to a field the configuration governs.

    SourceRecord: Record<string, unknown>