codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 4580 "Ext. SharePoint Connector Impl"

External File Storage - SharePoint Connector · System.ExternalFileStorage

Across versions

  1. BC23-28not present
  2. BC29-30present

External File Storage - SharePoint Connector · System.ExternalFileStorage · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal
Permissions tabledata “Ext. SharePoint Account” = rimd

Event subscriptions

  • EnvironmentCleanup_OnClearCompanyConfig subscribes to Codeunit “Environment Cleanup” OnClearCompanyConfig

Procedures

  • ListFiles(AccountId: Guid; Path: Text; FilePaginationData: Codeunit "File Pagination Data"; var TempFileAccountContent: Record "File Account Content" temporary): Gets a List of Files stored on the provided account.
  • GetFile(AccountId: Guid; Path: Text; Stream: InStream): Gets a file from the provided account.
  • CreateFile(AccountId: Guid; Path: Text; Stream: InStream): Create a file in the provided account.
  • CopyFile(AccountId: Guid; SourcePath: Text; TargetPath: Text): Copies a file inside the provided account.
  • MoveFile(AccountId: Guid; SourcePath: Text; TargetPath: Text): Moves a file inside the provided account.
  • FileExists(AccountId: Guid; Path: Text): Boolean: Checks if a file exists on the provided account.
  • DeleteFile(AccountId: Guid; Path: Text): Deletes a file on the provided account.
  • ListDirectories(AccountId: Guid; Path: Text; FilePaginationData: Codeunit "File Pagination Data"; var TempFileAccountContent: Record "File Account Content" temporary): Gets a List of Directories stored on the provided account.
  • CreateDirectory(AccountId: Guid; Path: Text): Creates a directory on the provided account.
  • DirectoryExists(AccountId: Guid; Path: Text): Boolean: Checks if a directory exists on the provided account.
  • DeleteDirectory(AccountId: Guid; Path: Text): Deletes a directory on the provided account.
  • GetAccounts(var TempAccounts: Record "File Account" temporary): Gets the registered accounts for the SharePoint connector.
  • ShowAccountInformation(AccountId: Guid): Shows accounts information.
  • RegisterAccount(var TempAccount: Record "File Account" temporary): Boolean: Register an file account for the SharePoint connector.
  • DeleteAccount(AccountId: Guid): Boolean: Deletes an file account for the SharePoint connector.
  • GetDescription(): Text[250]: Gets a description of the SharePoint connector.
  • GetLogoAsBase64(): Text: Gets the SharePoint connector logo.
  • IsAccountValid(var TempAccount: Record "Ext. SharePoint Account" temporary): Boolean (internal)
  • CreateAccount(var AccountToCopy: Record "Ext. SharePoint Account"; ClientSecretOrCertificate: SecretText; CertificatePassword: SecretText; var TempFileAccount: Record "File Account" temporary) (internal)
  • SetAuthorizationsForTest(GraphAuthorization: Interface "Graph Authorization"; SharePointAuthorization: Interface "SharePoint Authorization") (internal): Injects mock authorizations into both helpers so tests can exercise the dispatching between the Graph and REST stacks without acquiring real tokens.

Recent changes

Ask your agent

Procedure bodies are not stored here (D10). 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: "Ext. SharePoint Connector Impl"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources