Sharing information through XMLports
Exporting or importing data is a common requirement for financial or ERP applications. There are a number of formats in which data can be asked, but when there is no manual intervention with data, or that data has to be used by two different applications, then it is mostly asked in a delimited, fixed length or XML format. Extensible Markup Language (XML) is a format for creating structured computer documents. XMLports are object types in Microsoft Dynamics NAV that help to create these types of documents.
How to do it...
Let's get started by creating a new XMLport from Object Designer.
Add the following variables to XMLport designer:
Node Name
Node Type
Source Type
Data Source
Root
Element
Text
<Root>
Customer
Element
Table
<Customer>(Customer)
No
Element
Field
<Customer>::No.
Name
Element
Field
<Customer>::Name
XMLport designer should look similar to the following screenshot:
Now...