Provides functionality for designing XMLports.
XMLport Designer contains the following column fields:
- Node Name
- Node Type
- Source Type
- Data Source
To open this window, on the Tools menu, choose Object Designer, choose XMLport, and then choose the Design button. You can choose the New button instead of the Design button to design a new XMLport.
Specifies the XML node name of the XML element or attribute. You must enter node names in the order in which they appear in the XML document. Parent elements must precede their child elements. You indent the node names of child elements under their parent elements by using one indentation per level. You list attributes under the elements that they define and you indent them to the child level.
Specifies whether the name in the Node Name field represents data of the type element or attribute. The drop-down list in a Node Type field contains two options: Element and Attribute. The default setting is Element.
Specifies the data structure that the node name corresponds to in the Microsoft Dynamics NAV database. The Source Type field contains a drop-down list that has the following options:
A Data Source field has the following interactions with the Source Type field:
|If an XMLport is designed to import or export XML documents, the Node Name for the first element in XMLport designer window must be set to Root, the Node Type must be set to Element and the Source Type must be set to Text. This represents the root of the XML document.|
XMLport Properties, Functions, and Triggers
There are properties, functions, and triggers that you can use to work with an XMLport. There are properties, functions, and triggers for the object level and for the element level, which consists of Field, Table, and Text. The properties that are available at the element level depend on the selections you make in the Node Type and Source Type fields in XMLport Designer. For more information, see C/SIDE Reference Guide.
When you design XMLports, you must set the value of the Format Property (XMLports) and the Direction Property. The Format Property (XMLports) indicates the type of file that you want to import or export and the direction property value indicates whether the XMLport will be used for import or export.