TreeINFO-For-M365 documentation
    Preparing search index...

    Interface SPFieldContentType

    interface SPFieldContentType {
        DefaultValue: any;
        Description: string;
        Filter?: string[];
        Hidden: boolean;
        InternalName: "ContentType";
        ReadOnlyField: boolean;
        Required: boolean;
        Title: string;
        TypeAsString: "Computed";
    }

    Hierarchy (View Summary)

    Index

    Properties

    DefaultValue: any
    Description: string

    The field's description shown below the input. Supports resource keys with the RESX. prefix (e.g. "RESX.MyFieldDescription"). The key is resolved from the form's Resources translation table.

    Filter?: string[]

    Whitelist of contentTypes that should be shown to the user. This may be an array of ContentType names as well as ContentType Ids.

    Example with CT names:

    "Filter": ["File", "File document"]

    Multi-language example:

    "Filter": ["File", "File document", "Spis", "Dokument spisu"]

    Example with CT ids:

    "Filter": ["0x012000C894D9EEFB9C9A1188428943D58A3177003E1064125FE8D24A88E57BC80F60D4C5", "0x01010019492CA1C3946453A4116AED1874FA58009A76E69A1366D14EACB7F7D39187B774"]

    Hidden: boolean
    InternalName: "ContentType"
    ReadOnlyField: boolean
    Required: boolean
    Title: string

    The field label shown next to the input. Supports resource keys with the RESX. prefix (e.g. "RESX.MyFieldTitle"). The key is resolved from the form's Resources translation table.

    TypeAsString: "Computed"