官术网_书友最值得收藏!

Multiple namespaces on XMLports

In Microsoft Dynamics NAV 2016, you can define multiple namespaces on XMLports that import or export data as XML. This improves the ability to create XMLports that are compatible with XML schemas, which are used by the system that consume or provide the Microsoft Dynamics NAV data.

Note

For those who don't know what namespace is Namespaces are used to distinguish fields and provide uniqueness. The inclusion of namespaces enables parties to tag elements and resolve any ambiguity.

You can define a namespace in the new namespaces property of the XMLport object as shown in the next screenshot.

Each namespace is defined by a prefix and the namespace, which is typically a URI (uniform resource identifier).

You then apply the prefix to specific elements of the XMLport by setting the new NamespacePrefix property:

Multiple namespaces on XMLports

Select the Export option in the request page for the Sales Order Export XML report, and click on OK:

Multiple namespaces on XMLports

You will be prompted with a Save/Open dialog box, as seen in the following screenshot. Just select one option, and follow the steps:

Multiple namespaces on XMLports

The XML file shown in the following screenshot clearly signifies that the different namespaces are assigned to the corresponding data, which can be utilized in the case of conflicts by differentiating elements or attributes within an XML document:

Multiple namespaces on XMLports

主站蜘蛛池模板: 华安县| 嘉定区| 万荣县| 抚顺县| 天等县| 东台市| 邻水| 神木县| 曲靖市| 肇庆市| 诸城市| 龙山县| 哈尔滨市| 西藏| 普洱| 东阳市| 翁牛特旗| 富宁县| 连州市| 龙井市| 大港区| 个旧市| 唐山市| 五指山市| 道真| 鄱阳县| 高陵县| 长海县| 余姚市| 上林县| 将乐县| 南江县| 荆门市| 南澳县| 镇巴县| 焉耆| 灌阳县| 陆丰市| 射洪县| 三穗县| 彝良县|