Source AL, 197 lines
src/System Application/Test Library/External File Storage/src/TestFileStorageConnector.Codeunit.allines 11 to 26 of 197, Copyright (c) Microsoft Corporation. MIT
codeunit 135814 "Test File Storage Connector" implements "External File Storage Connector"{ SingleInstance = true; procedure ListFiles(AccountId: Guid; Path: Text; FilePaginationData: Codeunit "File Pagination Data"; var TempFileAccountContent: Record "File Account Content" temporary); begin TempFileAccountContent.Init(); TempFileAccountContent.Type := TempFileAccountContent.Type::Directory; TempFileAccountContent.Name := 'Test Folder'; TempFileAccountContent.Insert(); TempFileAccountContent.Init(); TempFileAccountContent.Type := TempFileAccountContent.Type::File; TempFileAccountContent.Name := 'Test.pdf'; TempFileAccountContent.Insert(); end;
All 197 lines
Public procedures 17 in 29
| ListFiles(AccountId: Guid; Path: Text; FilePaginationData: Codeunit "File Pagination Data"; var TempFileAccountContent: Record "File Account Content" temporary) | new in 26 |
| GetFile(AccountId: Guid; Path: Text; Stream: InStream) | new in 26 |
| CreateFile(AccountId: Guid; Path: Text; Stream: InStream) | new in 26 |
| CopyFile(AccountId: Guid; SourcePath: Text; TargetPath: Text) | new in 26 |
| MoveFile(AccountId: Guid; SourcePath: Text; TargetPath: Text) | new in 26 |
| FileExists(AccountId: Guid; Path: Text): Boolean | new in 26 |
All 19 procedures in 26-29
Changes 2 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | | | | 2 | |
|---|
All 2 changes in 26-29