XMLports
XMLports are used to export or import data between an external source and a Microsoft Dynamics NAV database. Sharing data between different computer systems is seamless when it is shared in XML format. Working with XML files can be tedious so the details of how the XML file is handled are encapsulated in XMLports.
To use an XMLport to import or export data, you first design the XMLport in the XMLport Designer window and set some properties. You can run the XMLport from Object Designer or create a codeunit to run the XMLport. For more information about how to run XMLports in a codeunit, see How to: Create Codeunits to Run XMLports. For information about how to run XMLports in Object Designer, see How to: Run an XMLport from Object Designer.
If you are upgrading from an earlier version of Microsoft Dynamics NAV and used Dataports in the earlier version, then you should analyze the functionality of each Dataport and re-create that functionality in Microsoft Dynamics NAV 2013 R2 using XMLports.
Introducing XMLports
The following table lists topics that provide detailed information about how to use XMLports.
To | See |
---|---|
Read about the XMLport Designer window. |
|
Read about triggers available for XMLports and XMLport elements. |
|
Learn how to design an XMLport for import or export. |
|
Learn how to create codeunits to run XMLports. |
|
Learn about designing request pages for XMLports |
|
Learn how to run XMLports from Object Designer. |
|
Read about XMLport data types and functions. |
XMLports Walkthroughs
The following table lists topics that provide information about how to use XMLports to create scenario based applications.
To | See |
---|---|
Learn how to export data from a Microsoft Dynamics NAV table into an XML document. |
|
Learn how to import data from an XML document to multiple tables in a Microsoft Dynamics NAV database. The XML document contains data that belongs in two different tables in the database. |
Walkthrough: Inserting Data from XML Documents to Multiple Tables |
Learn how to export data from tables to CSV (comma separated value) files. |
|
Learn how to import data from text files. |