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

    This interface is a union of SPDataSource, WSDataSource and StaticDataSource. This means that you should use properties from only one of the interfaces listed.

    interface DataSource {
        DataSourceConfiguration?: SPDataSourceConfiguration | WSDataSourceConfiguration;
        DataSourceObject?: any[];
        DataSourceType: "SP" | "WS" | "STATIC";
        SearchElements?: string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    This property is a union of DataSourceConfiguration from SPDataSource and WSDataSource.

    DataSourceObject?: any[]

    This property should be defined only when using StaticDataSource.

    DataSourceType: "SP" | "WS" | "STATIC"

    Defines what DataSource is used.

    SearchElements?: string[]

    Defines internal names of the fields to which the search query applies to. This property should be defined only when using SPDataSource with AutoCompleteRenderMode or DataTableRenderMode.