DefaultNamespace Property
Version: Available or changed with runtime version 1.0.
Specifies the default namespace for both the IMPORT function (XmlPort) and EXPORT function (XmlPort) functions.
Applies to
- Xml Port
Syntax
DefaultNamespace = 'urn:microsoft-dynamics-nav/xmlports/x100';
Remarks
This property specifies the default namespace for both import and export. A default namespace is a namespace that does not include a prefix. The default prefix is applied to all the elements that do not include a prefix and is unique for different XMLports. For example, the following string specifies a namespace: urn:microsoft-dynamics-nav/xmlports/x100
, where 100 is the ID of the XMLport.
Note
There can only be one default namespace. So if you specify a default namespace in the Namespaces Property, you must set the UseDefaultNamespace Property to false.
For more information about using namespaces with XMLports, see Using Namespaces with XMLports.
See Also
Properties
Namespaces Property
NamespacePrefix Property
UseDefaultNamespace Property
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Tickets als Feedbackmechanismus für Inhalte auslaufen lassen und es durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unter:Einreichen und Feedback anzeigen für