codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 9100 "SharePoint Client"

System Application · System.Integration.Sharepoint

Across versions

  1. BC23present
  2. BC241 procedures added
  3. BC25unchanged
  4. BC261 procedures added
  5. BC27-29unchanged
  6. BC308 procedures added

Neighbourhood 2 connected objects and pages

Codeunit 9101 "SharePoint Client Impl." (calls, 23 links)SharePoint Client Impl.Codeunit 9103 "SharePoint List Item" (calls)SharePoint List Item

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.Integration.Sharepoint · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public

Events published

  • ProcessSharePointFileMetadata(Metadata: JsonToken; var SharePointFile: Record "SharePoint File" temporary) (integration): Process SharePointFile Metadata - Use to extract custom meta data into model record
  • ProcessSharePointListItemMetadata(Metadata: JsonToken; var SharePointListItem: Record "SharePoint List Item" temporary) (integration): Process SharePointListItem Metadata - Use to extract custom mete data into model record

Procedures

  • Initialize(BaseUrl: Text; Authorization: Interface "SharePoint Authorization"): Initializes SharePoint client.
  • Initialize(BaseUrl: Text; Namespace: Text; Authorization: Interface "SharePoint Authorization"): Initializes SharePoint client.
  • GetDiagnostics(): Interface "HTTP Diagnostics": Returns detailed information on last API call.
  • GetLists(var SharePointList: Record "SharePoint List"): Boolean: Gets all lists on the given site.
  • GetListItems(ListTitle: Text; var SharePointListItem: Record "SharePoint List Item"): Boolean: Gets all list items for the given list.
  • GetListItems(ListId: Guid; var SharePointListItem: Record "SharePoint List Item"): Boolean: Gets all list items for the given list.
  • GetListItemAttachments(ListTitle: Text; ListItemId: Integer; var SharePointListItemAtch: Record "SharePoint List Item Atch"): Boolean: Gets all attachments for the given list item.
  • GetListItemAttachments(ListId: Guid; ListItemId: Integer; var SharePointListItemAtch: Record "SharePoint List Item Atch"): Boolean: Gets all attachments for the given list item.
  • DownloadListItemAttachmentContent(ListTitle: Text; ListItemId: Integer; FileName: Text): Boolean: Downloads the specified attachment file to the client.
  • DownloadListItemAttachmentContent(ListId: Guid; ListItemId: Integer; FileName: Text): Boolean: Downloads the specified attachment file to the client.
  • DownloadListItemAttachmentContent(OdataId: Text): Boolean: Downloads the specified attachment file to the client.
  • CreateListItemAttachment(ListTitle: Text; ListItemId: Integer; var SharePointListItemAtch: Record "SharePoint List Item Atch"): Boolean: Creates the list item attachment for given item.
  • CreateListItemAttachment(ListID: Guid; ListItemId: Integer; var SharePointListItemAtch: Record "SharePoint List Item Atch"): Boolean: Creates the list item attachment for given item.
  • CreateListItemAttachment(ListTitle: Text; ListItemId: Integer; FileName: Text; var FileInStream: InStream; var SharePointListItemAtch: Record "SharePoint List Item Atch"): Boolean: Creates a list item attachment for specific list item.
  • CreateListItemAttachment(ListID: Guid; ListItemId: Integer; FileName: Text; var FileInStream: InStream; var SharePointListItemAtch: Record "SharePoint List Item Atch"): Boolean: Creates a list item attachment for specific list item.
  • CreateList(ListTitle: Text; ListDescription: Text; var SharePointList: Record "SharePoint List"): Boolean: Creates a new list.
  • CreateListItem(ListTitle: Text; ListItemEntityTypeFullName: Text; ListItemTitle: Text; var SharePointListItem: Record "SharePoint List Item"): Boolean: Creates a new list item in specific list.
  • CreateListItem(ListId: Guid; ListItemEntityTypeFullName: Text; ListItemTitle: Text; var SharePointListItem: Record "SharePoint List Item"): Boolean: Creates a new list item in specific list.
  • GetSubFoldersByServerRelativeUrl(ServerRelativeUrl: Text; var SharePointFolder: Record "SharePoint Folder"): Boolean: Lists all subfolders in the given folder.
  • GetFolderFilesByServerRelativeUrl(ServerRelativeUrl: Text; var SharePointFile: Record "SharePoint File" temporary): Boolean: Lists all files in the given folder.
  • GetFolderFilesByServerRelativeUrl(ServerRelativeUrl: Text; var SharePointFile: Record "SharePoint File" temporary; ListAllFields: Boolean): Boolean: Lists all files in the given folder.
  • GetFileByServerRelativeUrl(ServerRelativeUrl: Text; var SharePointFile: Record "SharePoint File" temporary; ListAllFields: Boolean): Boolean + BC24: Gets file data by server relative url
  • DownloadFileContent(OdataId: Text; var FileInStream: InStream): Boolean: Downloads a file to an InStream.
  • DownloadFileContent(OdataId: Text; FileName: Text): Boolean: Downloads a file to the client.
  • DownloadFileContent(OdataId: Text; var TempBlob: Codeunit "Temp Blob"): Boolean: Downloads a file to a TempBlob.
  • DownloadFileContentByServerRelativeUrl(ServerRelativeUrl: Text; var FileInStream: InStream): Boolean: Downloads a file to an InStream.
  • DownloadFileContentByServerRelativeUrl(ServerRelativeUrl: Text; FileName: Text): Boolean: Downloads a file to the client.
  • DownloadFileContentByServerRelativeUrl(ServerRelativeUrl: Text; var TempBlob: Codeunit "Temp Blob"): Boolean: Downloads a file to a TempBlob.
  • DeleteFile(OdataId: Text): Boolean: Deletes a file.
  • DeleteFileByServerRelativeUrl(ServerRelativeUrl: Text): Boolean: Deletes a file.
  • GetDocumentLibraryRootFolder(OdataID: Text; var SharePointFolder: Record "SharePoint Folder"): Boolean: Gets root folder for the list entity (Document Library).
  • CreateFolder(ServerRelativeUrl: Text; var SharePointFolder: Record "SharePoint Folder"): Boolean: Creates a new folder.
  • FolderExistsByServerRelativeUrl(ServerRelativeUrl: Text): Boolean + BC26: Checks if a folder exists.
  • DeleteFolder(OdataId: Text): Boolean: Deletes a folder.
  • DeleteFolderByServerRelativeUrl(ServerRelativeUrl: Text): Boolean: Deletes a folder.
  • AddFileToFolder(ServerRelativeUrl: Text; var SharePointFile: Record "SharePoint File" temporary): Boolean: Adds a file to specific folder.
  • AddFileToFolder(ServerRelativeUrl: Text; var SharePointFile: Record "SharePoint File" temporary; ListAllFields: Boolean): Boolean: Adds a file to specific folder.
  • AddFileToFolder(ServerRelativeUrl: Text; FileName: Text; var FileInStream: InStream; var SharePointFile: Record "SharePoint File" temporary): Boolean: Adds a file to specific folder.
  • AddFileToFolder(ServerRelativeUrl: Text; FileName: Text; var FileInStream: InStream; var SharePointFile: Record "SharePoint File" temporary; ListAllFields: Boolean): Boolean: Adds a file to specific folder.
  • UpdateListItemMetaDataField(ListTitle: Text; ItemId: Integer; ListItemEntityTypeFullName: Text; FieldName: Text; FieldValue: Text): Boolean: Updates metadata field for list item.
  • UpdateListItemMetaDataField(ListId: Guid; ItemId: Integer; ListItemEntityTypeFullName: Text; FieldName: Text; FieldValue: Text): Boolean: Updates metadata field for list item.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Recent changes

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "SharePoint Client"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources