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 :
Microsoft Dynamics AX (Archived)

Importing data from xml

(0) ShareShare
ReportReport
Posted on by 130

Hello

I want to write a class (batchable) which imports data from an xml into a table. The xml looks like the following:

JobListExport

JobList

Job

SequenceNum

DateTime

Type

Job

SequenceNum

...

...

Now I want to import the data under the Job-Node but only where SequenceNum has specific values (like 28, 29, 30) which I can pass by parameter to the class.

How can I do that

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    You can read XML files in X++ by XML DOM classes, such as XMLDocument, XMLElement and so on. You can find many example on Internet.

    Or do you have any more specific question?

  • Suggested answer
    Syed Zeeshan Haider Jafry Profile Picture
    725 on at

    Hi,

    Please see the blow post as an example how to read XML in AX.

    axzaptech.wordpress.com/.../read-xml-file-in-ax

    Regards,

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans