Codeunit 9510 Document Service Management

Base Application, Microsoft.EServices.EDocument

Source AL, 1,472 lines

src/Layers/W1/BaseApp/eServices/EDocument/DocumentServiceManagement.Codeunit.allines 19 to 34 of 1,472, Copyright (c) Microsoft Corporation. MIT

codeunit 9510 "Document Service Management"{    // Provides functions for the storage of documents to online services such as O365 (Office 365).    Permissions = tabledata "Tenant Media" = rimd;    InherentEntitlements = X;    InherentPermissions = X;    trigger OnRun()    begin    end;    var        NoConfigErr: Label 'No online document configuration was found.';        MultipleConfigsErr: Label 'More than one online document configuration was found.';        SourceFileNotFoundErr: Label 'Cannot open the specified document from the following location: %1 due to the following error: %2.', Comment = '%1=Full path to the file on disk;%2=the detailed error describing why the document could not be accessed.';        RequiredSourceNameErr: Label 'You must specify a source path for the document.';

All 1,472 lines

Events 5 in 29

[IntegrationEvent] OnGetSharePointClientId(var ClientId: Text)17-29
[IntegrationEvent] OnGetSharePointClientSecret(var ClientSecret: Text)17-29
[IntegrationEvent] OnGetSharePointRedirectURL(var RedirectURL: Text)17-29
[IntegrationEvent] OnBeforeIsConfigured(var DocumentServiceRec: Record "Document Service")new in 20
[IntegrationEvent] OnBeforeSetProperties(var DocumentServiceRec: Record "Document Service")new in 20

Public procedures 21 in 29

TestConnection()17-29
IsConfigured(): Boolean17-29
IsServiceUri(TargetURI: Text): Boolean17-29
SetServiceType(RequestedServiceType: Text)17-29
GetServiceType(): Text17-29
OpenDocument(TargetURI: Text)17-29

All 29 procedures in 17-29

Changes 1 in 28

List17181920212223242526272829
Procedures6266611
Events2
TestLocationResolves(Location: Text[250]; AccessToken: Text): Boolean21 to 27
gone

All 30 changes in 17-29