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
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários