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

Codeunit 9510 "Document Service Management"

Base Application · Microsoft.EServices.EDocument

Across versions

  1. BC23-24present
  2. BC2515 procedures changed, 4 procedures added
  3. BC263 procedures added, 2 procedures removed
  4. BC27unchanged
  5. BC282 procedures removed
  6. BC29unchanged
  7. BC304 procedures added, 3 procedures removed

Neighbourhood 26 connected objects and pages

Codeunit 1297 "Http Web Request Mgt." (calls, 16 links)Http Web Request Mgt.Codeunit 457 "Environment Information" (calls, 8 links)Environment InformationCodeunit 6300 "Azure AD Mgt." (calls, 6 links)Azure AD Mgt.Page 9553 "Document Service Setup" (calls, 6 links)Document Service SetupCodeunit 1357 "Privacy Notice Registrations" (calls, 4 links)Codeunit 1563 "Privacy Notice" (calls, 4 links)Privacy NoticeTable 370 "Excel Buffer" (calls, 4 links)Excel BufferCodeunit 1293 "Isolated Storage Management" (calls, 3 links)Isolated Storage ManagementCodeunit 3060 "Uri" (calls, 3 links)UriCodeunit 501 "OAuth2" (calls, 3 links)Codeunit 9560 "Document Sharing" (calls, 3 links)Document SharingCodeunit 9660 "Report Layouts Impl." (calls, 3 links)Report Layouts Impl.Table 1173 "Document Attachment" (calls, 3 links)Document AttachmentCodeunit 2200 "Azure Key Vault" (calls, 2 links)Codeunit 3061 "Uri Builder" (calls, 2 links)Uri BuilderCodeunit 4100 "Temp Blob" (calls, 2 links)Temp BlobCodeunit 419 "File Management" (calls, 2 links)File ManagementCodeunit 9005 "Url Helper" (calls, 2 links)Table 20405 "Qlty. Inspection Header" (calls, 2 links)Table 477 "Report Inbox" (calls, 2 links)Codeunit 1266 "Cryptography Management" (calls)Codeunit 8703 "Feature Telemetry" (calls)Page extension 9204 "User Settings" (calls)Table 20400 "Qlty. Management Setup" (calls)Table 5076 "Segment Header" (calls)https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-extending-document-sharing-onedrive (Learn pages)

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.

Base Application · Microsoft.EServices.EDocument · BC23-30 · source at 4e6a307c · facts from BC29

Properties

Property Value
Permissions tabledata “Tenant Media” = rimd

Events published

  • OnBeforeIsConfigured(var DocumentServiceRec: Record "Document Service") (integration)
  • OnBeforeSetProperties(var DocumentServiceRec: Record "Document Service") (integration)
  • OnGetSharePointClientId(var ClientId: Text) (integration)
  • OnGetSharePointClientSecret(var ClientSecret: Text) (integration)
  • OnGetSharePointRedirectURL(var RedirectURL: Text) (integration)

Event subscriptions

  • OnTryAcquireAccessTokenOnOpenInExcel subscribes to Codeunit “System Action Triggers” OnOpenInExcel
  • OnCanUploadDocument subscribes to Codeunit “Document Sharing” OnCanUploadDocument
  • OnCanUploadSystemDocument subscribes to Codeunit “Document Sharing” OnCanUploadSystemDocument
  • OnUploadDocument subscribes to Codeunit “Document Sharing” OnUploadDocument
  • OnGetFileContents subscribes to Codeunit “Document Sharing” OnGetFileContents
  • OnDeleteDocument subscribes to Codeunit “Document Sharing” OnDeleteDocument

Procedures

  • TestConnection()
  • SaveFile(SourcePath: Text; TargetName: Text; ConflictBehavior: Enum "Doc. Sharing Conflict Behavior"): Text − BC26
  • RunDocumentServiceSetup(Notification: Notification)
  • GetOneDriveScenario(var DocumentServiceScenario: Record "Document Service Scenario"): Boolean
  • IsConfiguredLegacy(): Boolean
  • IsConfigured(): Boolean
  • IsServiceUri(TargetURI: Text): Boolean
  • SetServiceType(RequestedServiceType: Text)
  • GetServiceType(): Text
  • OpenDocument(TargetURI: Text)
  • GetDefaultFolderName(): Text[250]
  • TryGetDefaultLocation(var Location: Text[250])
  • SetClientSecret(ClientSecret: SecretText) + BC25 − BC25 (internal)
  • TryGetClientSecretFromIsolatedStorage(var ClientSecret: SecretText) + BC25 − BC25 (internal)
  • OpenInOneDrive(FileName: Text; FileExtension: Text; InStream: InStream)
  • EditInOneDrive(FileName: Text; FileExtension: Text; var TempBlob: Codeunit "Temp Blob"): Boolean
  • EditInOneDrive(FileName: Text; FileExtension: Text; DocSharingConflictBehavior: Enum "Doc. Sharing Conflict Behavior"; var TempBlob: Codeunit "Temp Blob"): Boolean
  • OpenInOneDriveFromMedia(FileName: Text; FileExtension: Text; MediaId: Guid)
  • EditInOneDriveFromMedia(FileName: Text; FileExtension: Text; MediaId: Guid): Boolean
  • ShareWithOneDrive(FileName: Text; FileExtension: Text; InStream: InStream)
  • ShareWithOneDriveFromMedia(FileName: Text; FileExtension: Text; MediaId: Guid)
  • TestLocationResolves(Location: Text[250]; AccessToken: SecretText): Boolean Δ BC25 + BC25 − BC28
  • GetTelemetryCategory(): Text (internal)

Plus 43 local procedures.

Triggers

OnRun

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

Documented on Microsoft Learn

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

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: "Document Service Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources