Options
All
  • Public
  • Public/Protected
  • All
Menu

List Form

Hierarchy

  • IListForm

Index

Methods

create

  • Creates an instance of the list form

    Parameters

    Returns PromiseLike<IListFormResult>

generateODataQuery

  • generateODataQuery(info: IListFormResult, loadAttachments?: boolean): IODataQuery
  • Method to generate the odata query for the list item.

    Parameters

    Returns IODataQuery

loadAttachments

  • Method to load the item attachments

    Parameters

    Returns PromiseLike<Array<Attachment>>

refreshItem

  • Method to refresh the item.

    Parameters

    Returns PromiseLike<IListFormResult>

removeAttachment

  • Method to remove attachment from an item.

    Parameters

    Returns PromiseLike<IListFormResult>

saveAttachments

  • Method to save attachments to the item.

    Parameters

    Returns PromiseLike<Array<Attachment>>

saveItem

  • Method to save the item.

    Parameters

    Returns PromiseLike<IListFormResult>

showFileDialog

  • Method to show the file dialog.

    Returns PromiseLike<IListFormAttachmentInfo>

  • Method to show the file dialog.

    Parameters

    • info: IListFormResult

      The list form information.

    • Optional onSave: (IListFormAttachmentInfo: any) => void

      The save event triggered when a file is uploaded to the item.

        • (IListFormAttachmentInfo: any): void
        • Parameters

          • IListFormAttachmentInfo: any

          Returns void

    Returns PromiseLike<IListFormResult>

Generated using TypeDoc