Codeunit 18122349 EOS004 Azure FileShare FS
Provides access to an Azure FileShare storage to up- and download files.
procedure GetSecretConfigurationKeys(): List of [Text[250]]
List[Text]
procedure GetConfigurationKeys(): List of [Text[250]]
List[Text]
procedure Initialize(NewServiceConfig: Record "EOS004 Service Config.")
Record "EOS004 Service Config."
procedure Silent(): Boolean
Returns true if this instance is configured to be silent.
Boolean
procedure Silent(val: Boolean)
Sets if this instance is to be silent.
Boolean
procedure GetFiles(Path: Text; var Entry: Record "EOS004 AzFS Entry")
Returns a list of all file system entries on the specified path of the configured storage.
Path Text[]
The folder of which the entries are read. Provide an empty string to indicate the root level.
Entry Record "EOS004 AzFS Entry"
A temporary buffer that will contain the found entries.
procedure CreateFolder(FullFolderPath: Text)
Creates a folder.
FullFolderPath Text[]
The full path (including all parents) of the folder to be created.
procedure CreateFolder(FullFolderPath: Text; permissionKey: Text)
Creates a folder with a specific permission key.
FullFolderPath Text[]
The full path (including all parents) of the folder to be created.
permissionKey Text[]
The permission key to use.
procedure DeleteEntry(Entry: Record "EOS004 AzFS Entry")
Record "EOS004 AzFS Entry"
procedure DeleteFolder(FullFolderPath: Text; Force: Boolean)
Deletes a folder on the storage. The folder must be empty before it can be deleted.
FullFolderPath Text[]
The full path (including all parents) of the folder to be deleted.
Force Boolean
procedure DeleteFile(FullFilePath: Text)
Deletes a file on the storage.
FullFilePath Text[]
The full path (including all parents) of the file to be deleted.
procedure DownloadFile(FullFilePath: Text)
Starts a user-interactive download of the given file.
FullFilePath Text[]
The full path (including all parents) of the file to be downloaded.
procedure ReadFile(FullFilePath: Text; var TempBlob: Codeunit "Temp Blob")
Downloads the given file (non-interactively) into a BLOB.
FullFilePath Text[]
The full path (including all parents) of the file to be downloaded.
TempBlob Codeunit "Temp Blob"
procedure GetProperties(var Entry: Record "EOS004 AzFS Entry")
Returns detailed properties / metadata of a given filesystem entry and updates the passed instance.
Entry Record "EOS004 AzFS Entry"
The filesystem entry for which properties should be returned. The fields used to identify the entry are “Entry Type” and “Full Path”. All the properties that are returned are then also stored in this instance.
procedure UploadFile(FullFolderPath: Text; Filename: Text; var SourceBlob: Codeunit "Temp Blob")
Uploads a file to the storage.
FullFolderPath Text[]
The folder where to place the file.
Filename Text[]
The name to give to the uploaded file.
SourceBlob Codeunit "Temp Blob"
The contents of the file to be uploaded.
procedure UploadFile(FullFilePath: Text; var SourceBlob: Codeunit "Temp Blob")
Uploads a file to the storage.
FullFilePath Text[]
The full path (including all parents) of the file to be uploaded.
SourceBlob Codeunit "Temp Blob"
The contents of the file to be uploaded.
procedure UploadFileWithPermissionKey(FullFolderPath: Text; Filename: Text; var SourceBlob: Codeunit "Temp Blob"; permissionKey: Text)
Uploads a file to the storage using a specific permission key.
FullFolderPath Text[]
The folder where to place the file.
Filename Text[]
The name to give to the uploaded file.
SourceBlob Codeunit "Temp Blob"
The contents of the file to be uploaded.
permissionKey Text[]
The permission key to assign to the file.
procedure UploadFileWithPermissionKey(FullFilePath: Text; var SourceBlob: Codeunit "Temp Blob"; permissionKey: Text)
Uploads a file to the storage using a specific permission key.
FullFilePath Text[]
The full path (including all parents) of the file to be uploaded.
SourceBlob Codeunit "Temp Blob"
The contents of the file to be uploaded.
permissionKey Text[]
The permission key to assign to the file.
procedure CopyFile(FromFullPath: Text; ToFullPath: Text)
FromFullPath Text[]
ToFullPath Text[]
procedure CopyFile(FromFullPath: Text; ToFolderFullPath: Text; NewFilename: Text)
FromFullPath Text[]
ToFolderFullPath Text[]
NewFilename Text[]
procedure CopyFileWithPermissionKey(FromFullPath: Text; ToFullPath: Text; permissionKey: Text)
FromFullPath Text[]
ToFullPath Text[]
permissionKey Text[]
procedure CopyFileWithPermissionKey(FromFullPath: Text; ToFolderFullPath: Text; NewFilename: Text; permissionKey: Text)
FromFullPath Text[]
ToFolderFullPath Text[]
NewFilename Text[]
permissionKey Text[]
procedure RenameFile(oldPath: Text; newPath: Text)
oldPath Text[]
newPath Text[]
procedure MoveFile(fromPath: Text; toPath: Text)
fromPath Text[]
toPath Text[]
procedure MoveFolder(fromPath: Text; toPath: Text)
fromPath Text[]
toPath Text[]
procedure GetFileAttributes(path: Text; var Result: Dictionary of [Text, Text])
path Text[]
Result Dictionary[Text,Text]
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.