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...
Suggested Answer

Importing local file using XMLPort into business central in the cloud

(0) ShareShare
ReportReport
Posted on by 42

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?

I have the same question (0)
  • Suggested answer
    THE Italian Profile Picture
    Microsoft Employee on at

    This is a good blog about XML Port vs SaaS

    robertostefanettinavblog.com/.../

    If you need to automate this, I would better suggest you to go for APIs.

    Maybe this blog could be helpful

    www.kauffmann.nl/.../

  • Telcrome Profile Picture
    42 on at

    So its just not possible to reuse the software written for Dynamics NAV?

    Is the intended way to use XMLPorts by clicking on files with the mouse?

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,964 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,086 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,039 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans