Using XMLports to migrate data
An XMLport is a Microsoft Dynamics NAV object type used to import and export data encapsulated in XML format. Fixed text and variable text formats are also available on an XMLport to import and export data from a plain text file, just as we used to do with dataports (a Dynamics NAV object type that has been discontinued in the previous release of the application). XMLports have their own designer, XMLport Designer, which can be found in Object Designer, as shown in the following screenshot:
By using XMLport Designer, we specify all the XML tag names and their types (element or attribute). We also map these tag names to data structures (tables, records, or fields) in the Dynamics NAV database.
We will create an XMLport to import customers, just as we did in the Configuration worksheet section. By performing the same example with both the tools, we will be able to compare them and have some elements to decide which one we should use in our migrations...