Azure Connectors Node.js SDK
    Preparing search index...

    Typed client for the sharepointonline connector.

    Hierarchy (View Summary)

    Index
    • Check out file

      Parameters

      Returns Promise<void>

      Check out a file in a document library to prevent others from editing the document, and your changes from being visible until the documented is checked in.

    • Discard check out

      Parameters

      Returns Promise<void>

      If you check out a file and don’t make changes to it, or you make changes that you don’t want to keep, you can simply discard the checkout, rather than saving the file. If your organization tracks versions, a new version is created each time you check a file back into the library. By discarding the checkout, you can avoid making new versions when you haven’t made any changes to the file.

    • Get attachment content

      Parameters

      Returns Promise<Blob>

      Returns file contents using the file identifier. The contents can be copied somewhere else, or be used as an attachment.

    • Get file properties

      Parameters

      Returns Promise<Item>

      Gets the properties saved in the columns in the library for the item specified by the item id. You can add a "Get file content" step and use the "File identifier" property returned by this action to get to the contents of the file. When using this with the On-Premises Data Gateway, the name of the library to connect to may need to be entered manually.

    • Join hub site

      Parameters

      Returns Promise<void>

      Join the requested site to the hub site. An Approval Token is required to complete the join successfully if that hub requires approval. If applicable, you should specify the same Approval Correlation Id as used in the "Set hub site join status to pending" action.

    • Set content approval status

      Parameters

      Returns Promise<SetApprovalStatusOutput>

      Sets the content approval status for an item in a list or library that has content approval turned on. You must provide an ETag for pages and files. You can get the ETag using the Get File Metadata action. This action is only available for SharePoint Online and SharePoint 2019.