I have a problem working with AL on Business Central. I have to create new folder to a path on server. At C/AL i found that this can be done with Automation data type but on AL this is deprecated. Anyone can help.
Forget automation.
I presume the business central service is installed onpremise.
Set "target": "Internal" in app.json.
After that you can use codeunit 419 to create folders.
(ServerCreateDirectory).
Thanks @TallyHo, i have used the BC onpremise and it works but now we are going to BC on Cloud and this does not work. I thought there is something that can handle that.
I have no experience in cloud BC usage. But I can imagine that creating a folder in a cloud environment is a bit troublesome. What server? We're in a cloud.. Transforming the file exchange to webservices is probably the way to go.
Answers
I presume the business central service is installed onpremise.
Set "target": "Internal" in app.json.
After that you can use codeunit 419 to create folders.
(ServerCreateDirectory).