Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / How to import and expo...
Finance forum

How to import and export the xml file

(0) ShareShare
ReportReport
Posted on by 524

Hi guys,

Can anyone say for ,step by step methods to import and export the data from the XML File using X++ codes in d365.

  • Verified answer
    Basheer17 Profile Picture
    2,720 on at
    RE: How to import and export the xml file

    See if community.dynamics.com/.../d365fo-import-data-through-dmf-data-project-using-x is useful.

  • Verified answer
    Sukrut Parab Profile Picture
    71,682 Moderator on at
    RE: How to import and export the xml file

    Ok .. Look at the below link to write xml

    dynamics-ax-live.blogspot.com/.../create-xml-file-in-ax.html

    And you can look at below link to read xml file and import data in table .

    ax-dynamics.com/.../read-xml-file-from-url-in-ax-2012

  • Adam123 Profile Picture
    524 on at
    RE: How to import and export the xml file

    yeah i did that one using data management ,but i need this through code

    For example 

    I am giving the certain data in the notepad in the xml format ,the code should read the notepad and that should be imported.

  • Sukrut Parab Profile Picture
    71,682 Moderator on at
    RE: How to import and export the xml file

    HI Jenifer ,

    Did you get a chance to check data management features ?

  • Suggested answer
    Sukrut Parab Profile Picture
    71,682 Moderator on at
    RE: How to import and export the xml file

    You don't have to do that though X++ code . Data management does it for you.  Just use xml as  a target data  format to export  using data entities. If  data entity does not exist for your custom table , just create it and used procedure define in the article I attached to export the file.    

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans