Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ListFormService

Implements

Index

Methods

Private getErrorMessage

  • getErrorMessage(webUrl: string, error: any): string

getFieldSchemasForForm

  • Gets the schema for all relevant fields for a specified SharePoint list form.

    Parameters

    • webUrl: string

      The absolute Url to the SharePoint site.

    • listName: string

      The name of the list.

    • formType: ControlMode

      The type of form (Display, New, Edit)

    Returns Promise<IFieldSchema[]>

    Promise object represents the array of field schema for all relevant fields for this list form.

getViewFields

  • getViewFields(webUrl: string, listName: string, viewId: string): Promise<IField[]>
  • Gets the schema for all relevant fields for a specified SharePoint list form.

    Parameters

    • webUrl: string

      The absolute Url to the SharePoint site.

    • listName: string
    • viewId: string

      The type of form (Display, New, Edit)

    Returns Promise<IField[]>

    Promise object represents the array of field schema for all relevant fields for this list form.

getViewItems

  • getViewItems(webUrl: string, listName: string, viewId: string, overrideParameters?: any, paging?: string): Promise<IRowData>
  • Gets the schema for all relevant fields for a specified SharePoint list form.

    Parameters

    • webUrl: string

      The absolute Url to the SharePoint site.

    • listName: string
    • viewId: string

      The type of form (Display, New, Edit)

    • Optional overrideParameters: any
    • Optional paging: string

    Returns Promise<IRowData>

    Promise object represents the array of field schema for all relevant fields for this list form.

Generated using TypeDoc