Codeunit 9510 Document Service Management
src/Layers/W1/BaseApp/eServices/EDocument/DocumentServiceManagement.Codeunit.al64 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
TestConnection line 103
- 110callsIsConfiguredLegacy
- 114callsSetDocumentService
- 119callsSetProperties
- 128callsCheckError
SaveFile line 132
- 150callsIsConfigured
- 158callsSaveStream
RunDocumentServiceSetup line 161
IsOneDriveEnabled line 200, local
- 206callsGetOneDriveScenario
- 211callsCodeunit 457 Environment Information IsOnPrem
IsOneDriveEnabledOrUsingLegacySetup line 229, local
- 235callsIsOneDriveEnabled
- 237callsIsConfiguredLegacy
- 237callsCodeunit 457 Environment Information IsSaaSInfrastructure
IsConfigured line 240
- 246raisesOnBeforeIsConfigured
- 249callsIsOneDriveEnabled
- 251callsIsConfiguredLegacy
IsServiceUri line 255
- 267callsSetDocumentService
- 268callsSetProperties
- 270callsCheckError
OpenDocument line 298
- 305callsIsConfigured
- 308callsSetDocumentService
- 310callsCheckError
InitializeDefaultService line 313, local
- 321callsCodeunit 501 OAuth2 GetDefaultRedirectUrl
- 323callsGetLocation
- 324callsGetDefaultFolderName
GetDefaultFolderName line 327
GetSafeCompanyName line 332, local
GetSafeDocumentServiceFolderName line 348, local
- 352callsCodeunit 419 File Management GetSafeFileName
GetLocation line 360, local
- 365callsGetOneDriveScenario
- 366callsGetDefaultLocation
- 373callsGetDefaultLocation
TryGetDefaultLocation line 377
GetDefaultLocation line 382, local
- 398callsGetGraphDriveRootUrl
- 399callsCodeunit 6300 Azure AD Mgt. GetOnBehalfAccessTokenAsSecretText
- 399callsCodeunit 9005 Url Helper GetGraphUrl
- 406callsCodeunit 1297 Http Web Request Mgt. Initialize
- 407callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 408callsCodeunit 1297 Http Web Request Mgt. SetReturnType
- 409callsCodeunit 1297 Http Web Request Mgt. AddHeader
- 411callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadTextResponse
- 415callsCheckLicenseError
- 426callsExtractWebUrlFromJson
- 431callsCodeunit 3061 Uri Builder Init
- 432callsCodeunit 3061 Uri Builder GetHost
CheckLicenseError line 438, local
- 441callsLicenseError
- 444callsLicenseError
SetResourceLocation line 447, local
- 451callsSetDocumentService
- 452callsSetProperties
SetProperties line 470, local
- 475raisesOnBeforeSetProperties
- 488callsGetAccessToken
GetMyBusinessCentralFilesLink line 496
- 509callsCodeunit 1563 Privacy Notice ConfirmPrivacyNoticeApproval
- 509callsCodeunit 1357 Privacy Notice Registrations GetOneDrivePrivacyNoticeId
- 515callsGetDriveFolderInfo
- 515callsGetGraphDriveRootUrl
- 519callsGetDocumentServiceFolder
- 519callsGetSafeCompanyName
- 520callsMakeChildrenPathUrl
- 520callsGetGraphDriveRootUrl
- 521callsGetDriveFolderInfo
- 522callsExtractWebUrlFromJson
- 526callsGetDocumentServiceFolder
- 527callsMakeChildrenPathUrl
- 527callsGetGraphDriveRootUrl
- 528callsGetDriveFolderInfo
- 529callsExtractWebUrlFromJson
- 533callsExtractWebUrlFromJson
GetDriveFolderInfo line 552, local
- 561callsInitializeGraphWebRequest
- 563callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadTextResponse
- 566callsCheckLicenseError
GetFileContent line 575, local
- 587callsResolveItemId
- 588callsGetFileDownloadUrl
- 589callsInitializeOneDriveWebRequest
- 591callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadResponse
- 594callsCheckLicenseError
- 598callsCodeunit 4100 Temp Blob Length
- 601callsCodeunit 4100 Temp Blob Length
- 603callsCodeunit 4100 Temp Blob CreateInStream
GetFileDownloadUrl line 609, local
- 621callsGetGraphFileByIdUrl
- 623callsInitializeGraphWebRequest
- 624callsCodeunit 1297 Http Web Request Mgt. AddHeader
- 626callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadTextResponse
- 629callsCheckLicenseError
DeleteDriveItem line 645, local
- 655callsResolveItemId
- 656callsGetGraphFileByIdUrl
- 657callsInitializeGraphWebRequest
- 659callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadTextResponse
- 662callsCheckLicenseError
ResolveItemId line 666, local
- 683callsGetGraphItemIdUrl
- 684callsInitializeGraphWebRequest
- 686callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadTextResponse
- 689callsCheckLicenseError
InitializeGraphWebRequest line 708, local
- 713callsCodeunit 6300 Azure AD Mgt. GetAccessTokenAsSecretText
- 713callsGetGraphDomain
- 713callsCodeunit 6300 Azure AD Mgt. GetO365ResourceName
- 714callsInitializeWebRequest
InitializeOneDriveWebRequest line 717, local
- 722callsCodeunit 6300 Azure AD Mgt. GetOnBehalfAccessTokenAsSecretText
- 722callsGetResourceUrl
- 723callsInitializeWebRequest
InitializeWebRequest line 726, local
- 735callsLicenseError
- 737callsCodeunit 1297 Http Web Request Mgt. Initialize
- 738callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 739callsCodeunit 1297 Http Web Request Mgt. SetMethod
- 740callsCodeunit 1297 Http Web Request Mgt. SetReturnType
- 741callsCodeunit 1297 Http Web Request Mgt. AddHeader
LicenseError line 744, local
- 748callsCodeunit 457 Environment Information IsSaaSInfrastructure
GetDocumentServiceFolder line 754, local
- 758callsIsConfiguredLegacy
- 765callsGetDefaultFolderName
GetGraphDriveUrl line 768, local
- 772callsGetGraphDomain
GetGraphDriveRootUrl line 780, local
- 782callsGetGraphDriveUrl
GetGraphDriveItemUrl line 785, local
- 787callsGetGraphDriveUrl
GetGraphItemIdUrl line 790, local
GetGraphFileByIdUrl line 799, local
MakeChildrenPathUrl line 804, local
- 822callsCodeunit 3060 Uri EscapeDataString
GetGraphDomain line 827, local
- 832callsCodeunit 9005 Url Helper GetGraphUrl
TrySaveStreamFromRec line 865, local
- 875callsSetDocumentService
- 878callsSetProperties
- 884callsSetResourceLocation
- 886callsSetProperties
- 891callsCheckError
SaveStream line 902, local
GetAccessToken line 916, local
- 932callsCodeunit 8703 Feature Telemetry LogUsage
- 935callsGetResourceUrl
- 936callsCodeunit 457 Environment Information IsSaaSInfrastructure
- 937callsCodeunit 6300 Azure AD Mgt. GetOnBehalfAccessTokenAsSecretText
- 940callsCodeunit 6300 Azure AD Mgt. GetAccessTokenAsSecretText
- 950callsGetScopes
- 951callsGetClientId
- 952callsGetClientSecret
- 953callsGetRedirectURL
- 956callsCodeunit 501 OAuth2 AcquireAuthorizationCodeTokenFromCache
- 961callsCodeunit 501 OAuth2 AcquireTokenByAuthorizationCode
GetClientId line 978, local
- 986callsCodeunit 457 Environment Information IsSaaSInfrastructure
- 987callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
- 996raisesOnGetSharePointClientId
GetClientSecret line 1006, local
- 1015callsCodeunit 457 Environment Information IsSaaSInfrastructure
- 1016callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
- 1024callsGetClientSecretFromIsolatedStorage
- 1031raisesOnGetSharePointClientSecret
GetRedirectURL line 1042, local
- 1048callsCodeunit 457 Environment Information IsSaaSInfrastructure
- 1055raisesOnGetSharePointRedirectURL
GetScopes line 1060, local
- 1062callsGetResourceUrl
GetResourceUrl line 1067, local
- 1071callsCodeunit 3060 Uri Init
- 1072callsCodeunit 3060 Uri GetHost
SetClientSecret line 1076, internal
- 1086callsCodeunit 1293 Isolated Storage Management Delete
- 1092writesTable 2000000114 Document Service Modify
- 1095callsCodeunit 1293 Isolated Storage Management Set
GetClientSecretFromIsolatedStorage line 1099, local
TryGetClientSecretFromIsolatedStorage line 1121, internal
OnTryAcquireAccessTokenOnOpenInExcel line 1128, local
OpenInOneDrive line 1154
- 1158callsCodeunit 9560 Document Sharing Share
EditInOneDrive line 1166
- 1181callsCodeunit 4100 Temp Blob CreateInStream
- 1184callsCodeunit 4100 Temp Blob CreateInStream
- 1186callsCodeunit 1266 Cryptography Management GenerateHash
- 1188writesTable 9560 Document Sharing Insert
- 1189callsCodeunit 9560 Document Sharing Share
- 1191callsCodeunit 4100 Temp Blob CreateOutStream
- 1194callsCodeunit 4100 Temp Blob CreateInStream
- 1196callsCodeunit 1266 Cryptography Management GenerateHash
OpenInOneDriveFromMedia line 1199
EditInOneDriveFromMedia line 1206
InvokeDocumentSharingFlowFromMedia line 1227, local
- 1237callsSetFileNameAndExtension
- 1243writesTable 9560 Document Sharing Insert
- 1245callsCodeunit 1266 Cryptography Management GenerateHash
- 1246runsCodeunit 9560 Document Sharing
- 1249callsCodeunit 1266 Cryptography Management GenerateHash
- 1254writesTable 2000000184 Tenant Media Modify
TestLocationResolves line 1261
InitTempDocumentServiceRecord line 1278, local
- 1286callsIsOneDriveEnabled
- 1288callsIsOneDriveEnabledForSystem
- 1290callsCodeunit 457 Environment Information IsSaaSInfrastructure
- 1292callsInitializeDefaultService
- 1301callsGetSafeCompanyName
- 1303callsSetResourceLocation
OnCanUploadDocument line 1319, local
- 1327callsCodeunit 1563 Privacy Notice IsApprovalStateDisagreed
- 1327callsCodeunit 1357 Privacy Notice Registrations GetOneDrivePrivacyNoticeId
- 1330callsIsOneDriveEnabledOrUsingLegacySetup
OnCanUploadSystemDocument line 1334, local
- 1342callsCodeunit 1563 Privacy Notice IsApprovalStateDisagreed
- 1342callsCodeunit 1357 Privacy Notice Registrations GetOneDrivePrivacyNoticeId
- 1345callsIsOneDriveEnabledForSystem
OnUploadDocument line 1349, local
- 1366callsIsOneDriveEnabledOrUsingLegacySetup
- 1370callsIsOneDriveEnabledForSystem
- 1373callsCodeunit 1563 Privacy Notice ConfirmPrivacyNoticeApproval
- 1373callsCodeunit 1357 Privacy Notice Registrations GetOneDrivePrivacyNoticeId
- 1376callsCodeunit 419 File Management GetSafeFileName
- 1383callsInitTempDocumentServiceRecord
- 1389callsTrySaveStreamFromRec
- 1391callsTrySaveStreamFromRec
- 1396callsTrySaveStreamFromRec
- 1405callsTrySaveStreamFromRec
- 1407callsTrySaveStreamFromRec
- 1409callsTrySaveStreamFromRec
- 1426writesTable 9560 Document Sharing Modify
OnGetFileContents line 1432, local
- 1436callsGetFileContent
OnDeleteDocument line 1440, local
- 1444callsDeleteDriveItem