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

Notifications

Announcements

No record found.

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 40

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
    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
    40 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans