Before the switch to business central (non-onpremise) in the cloud, dynamics was installed locally alongside a Python script.
The python script is responsible for several integrations with other services.
This workflow allowed to call codeunits from said python script that were able to do stuff on the local disk (mainly run XmlPorts).
Now the switch to the cloud happened and the local xml files have to be imported manually through a page extension,
which is tedious and labor intensive compared with the old, fully automated solution.
I read about several relevant things in the docs:
- SOAP webservices seem to have a clear integration with Visual Studio + C# but not postman/python. There is no postman example for calling a specific codeunit-procedure?
- OData does not work with Codeunits at all. An empty page is the solution?
- Connect Apps are intended for standard things in predefined APIs and don't allow me to execute custom AL code on the dynamics365 side?
What is the intended tool for importing an only locally available xml-file using an XmlPort, triggered from the Python/Postman/script side?