Search WebPart Properties

Hierarchy

Properties

camlQuery?: string

The caml query.

cfgElementId?: string

The optional configuration element

className?: string

The class name.

The edit form

elementId?: string

The target element id to render the webpart to

helpProps?: {
    title?: string;
    url: string;
}

The optional help link properties

Type declaration

  • Optional title?: string

    The link title

  • url: string

    The link url

odataQuery?: IODataQuery

The odata query.

onExecutingCAMLQuery?: ((wpInfo, caml) => string)

Type declaration

    • (wpInfo, caml): string
    • The executing caml query event.

      Parameters

      Returns string

onExecutingODATAQuery?: ((wpInfo, odata) => IODataQuery)

Type declaration

    • (wpInfo, odata): IODataQuery
    • The executing odata query event.

      Parameters

      Returns IODataQuery

onPostRender?: ((wp, ...args) => void)

Type declaration

    • (wp, ...args): void
    • The post render event

      Parameters

      Returns void

onRenderDisplay?: ((wp) => any)

Type declaration

    • (wp): any
    • The render event triggered when the page is in 'Display' mode

      Parameters

      Returns any

onRenderEdit?: ((wp) => any)

Type declaration

    • (wp): any
    • The render event triggered when the page is in 'Edit' mode

      Parameters

      Returns any

onRenderForm?: ((form, wp?) => any)

Type declaration

    • (form, wp?): any
    • The render form event triggered when the form is created

      Parameters

      Returns any

onRenderItems?: ((wpInfo, items) => void)

Type declaration

    • (wpInfo, items): void
    • The on render items event.

      Parameters

      Returns void

searchFields?: {
    name: string;
    type: string;
}[]

The internal field names to be used for search. These will be appended to the configuration fields.

Type declaration

  • name: string
  • type: string
wpClassName?: string

The webpart class name

Generated using TypeDoc