web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

BC16 (AL - Cloud) "File Management" Import method without "DialogCaption

(0) ShareShare
ReportReport
Posted on by 5

Hello everyone!  

We are currently converting our solution from BC14 (C/AL - on premise) to BC16 (AL - Cloud).
During this process we have come across some commands, methods etc. that do not work in the cloud. 

I am looking for a video or documentation that describes how to search, open and read several text files in a directory in the background. 

Does anyone know any video or documentation for it? 

Unfortunately BC16 does not accept internal methods of "File Management" like "GetClientDirectoryFilesList" or for file fields the Open command (FileF.Open(PathFile)). Unfortunately I can't find any documentation how to handle files in the cloud. 

It would be nice if there was something "official" from Microsoft.  

The user must not be asked interactively to select the file!  

We need a fully automated variant that processes the files via the task queue (for example). Of course, the question arises as to which files or file system the cloud has access to at all.

 Example: There are monthly (20-50) external text files with different file extensions (*.??| *.??) with price, quantities, information, etc. as an update for certain products or new products or products that need to be deleted.  

These delivered files are unpacked into a directory. These files must then be able to be processed using a list page. This should be done in a kind of batch processing, so that the user does not have to select each file individually

 We have now done the opening with BlobImport. But unfortunately "BLOBImport" works with the "DialogCaption". We cannot use that. 

Is there an import method without "DialogCaption"?

 

Many thanks

Best wishes

Conchi

I have the same question (0)
  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    If you target the onpremise environment (target = onprem in app.json) you can use the same methods for Files as in C/AL. On SaaS, you don't have a file system so you cannot browse a directory. You can upload a file from client (UploadIntoStream) or download it from an online storage.

  • Concepcion Jacobi Profile Picture
    5 on at

    Thanks butWe have to make cloud and the files should at least be selectable. Not just every single file. You can open and process the files without any problems. But only every single one. And you cannot expect the user to select a file 100 times.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    In the cloud files are a different thing. You don’t have a file system. You can upload a file from client or a zip package and unpack it server side. Or (if you want to have a real file system in the cloud) use something like Azure Blob Storage where you can download multiple files with a simple GET http call.

  • Concepcion Jacobi Profile Picture
    5 on at

    Thank you so much! Unfortunately, we only have the way to go via Azure! We wanted to avoid that.

    Best wishes!

    Conchi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,969 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,143 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 688 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans