@infrasoftbe/vnv-sdk
    Preparing search index...

    Interface SPPartLayer

    interface SPPartLayer {
        create(
            options: Partial<
                {
                    AutofillInfo?: string;
                    AutoIndexed?: boolean;
                    CanBeDeleted?: boolean;
                    ClientSideComponentId?: string;
                    ClientSideComponentProperties?: string;
                    ClientValidationFormula?: string;
                    ClientValidationMessage?: string;
                    CustomFormatter?: string;
                    DefaultFormula?: string;
                    DefaultValue?: string;
                    Description?: string;
                    Direction?: "none"
                    | "ltr"
                    | "rtl";
                    EnforceUniqueValues?: boolean;
                    EntityPropertyName?: string;
                    FieldTypeKind?: number;
                    Filterable?: boolean;
                    FromBaseType?: boolean;
                    Group?: string;
                    Hidden?: boolean;
                    Id?: string;
                    Indexed?: boolean;
                    IndexStatus?: number;
                    InternalName?: string;
                    IsModern?: boolean;
                    JSLink?: string;
                    PinnedToFiltersPane?: boolean;
                    ReadOnlyField?: boolean;
                    Required?: boolean;
                    SchemaXml?: string;
                    Scope?: string;
                    Sealed?: boolean;
                    ShowInFiltersPane?: number;
                    Sortable?: boolean;
                    StaticName?: string;
                    Title?: string;
                    TypeAsString?: string;
                    TypeDisplayName?: string;
                    TypeShortDescription?: string;
                    ValidationFormula?: string;
                    ValidationMessage?: string;
                },
            >,
        ): Promise<any>;
        delete(): Promise<void>;
        get<T extends [] = null>(
            filter?: QueryPartsFilter,
        ): Promise<T extends null ? IWebPartDefinition : IWebPartDefinition[]>;
        update(props: Partial<IWebPartDefinition>): Promise<ClientsideWebPartData>;
    }
    Index

    Methods

    • Parameters

      • options: Partial<
            {
                AutofillInfo?: string;
                AutoIndexed?: boolean;
                CanBeDeleted?: boolean;
                ClientSideComponentId?: string;
                ClientSideComponentProperties?: string;
                ClientValidationFormula?: string;
                ClientValidationMessage?: string;
                CustomFormatter?: string;
                DefaultFormula?: string;
                DefaultValue?: string;
                Description?: string;
                Direction?: "none"
                | "ltr"
                | "rtl";
                EnforceUniqueValues?: boolean;
                EntityPropertyName?: string;
                FieldTypeKind?: number;
                Filterable?: boolean;
                FromBaseType?: boolean;
                Group?: string;
                Hidden?: boolean;
                Id?: string;
                Indexed?: boolean;
                IndexStatus?: number;
                InternalName?: string;
                IsModern?: boolean;
                JSLink?: string;
                PinnedToFiltersPane?: boolean;
                ReadOnlyField?: boolean;
                Required?: boolean;
                SchemaXml?: string;
                Scope?: string;
                Sealed?: boolean;
                ShowInFiltersPane?: number;
                Sortable?: boolean;
                StaticName?: string;
                Title?: string;
                TypeAsString?: string;
                TypeDisplayName?: string;
                TypeShortDescription?: string;
                ValidationFormula?: string;
                ValidationMessage?: string;
            },
        >

      Returns Promise<any>