microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
749 stars 600 forks source link

Access to ConstructUri for Azure Blob Storage and Azure File Share management #26739

Open DennyHW opened 2 weeks ago

DennyHW commented 2 weeks ago

Describe the request

The codeunit 9051 "ABS Client Impl." and codeunit 8951 "AFS File Client Impl." calculates the URL of a resource dynamically, through functions called ConstructUri and stored in other objects.

These functions should also be accessible from the outside because for calls like CopyBlob or CopyFile the source parameter must be a full URI and therefore we must externally recreate the same address calculation logic. Furthermore (at least for blob storage) it is also possible to set a SetBaseUrl().

immagine

Additional context

Always use the same function should be better to standardize the code Internal work item: AB#539366