You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: business-central/across-how-to-use-xml-schemas-to-prepare-data-exchange-definitions.md
+7-24Lines changed: 7 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Create XMLports based on XML schemas | Microsoft Docs
3
-
description: Use XML schemas to set yup the document exchange framework.
2
+
title: Use XML Schemas to Prepare Data Exchange Definitions
3
+
description: Use XML schemas to set up the document exchange framework.
4
4
author: SorenGP
5
5
6
6
ms.service: dynamics365-business-central
@@ -9,17 +9,15 @@
9
9
ms.tgt_pltfrm: na
10
10
ms.workload: na
11
11
ms.search.keywords:
12
-
ms.date: 08/18/2020
12
+
ms.date: 09/01/2020
13
13
ms.author: sgroespe
14
14
15
15
---
16
16
# Use XML Schemas to Prepare Data Exchange Definitions
17
17
18
-
To enable import/export of data in XML files through the data exchange framework in [!INCLUDE[d365fin](includes/d365fin_md.md)], you can use XML schemas to define which data elements you want to exchange with [!INCLUDE[d365fin](includes/d365fin_md.md)]. You perform this work on the **XML Schema Viewer** page by loading the XML schema file, selecting the relevant data elements, and then initializing either a data exchange definition or an XMLport.
18
+
To enable import/export of data in XML files through the data exchange framework in [!INCLUDE[d365fin](includes/d365fin_md.md)], you can use XML schemas to define which data elements you want to exchange with [!INCLUDE[d365fin](includes/d365fin_md.md)]. You perform this work on the **XML Schema Viewer** page by loading the XML schema file, selecting the relevant data elements, and then initializing a data exchange definition.
19
19
20
-
When you have defined which data elements to include based on the XML schema, you can use the **Generate XMLport** action to create the XMLport object.
21
-
22
-
Alternatively, you can use the **Generate Data Exchange Definition** action to initialize a data exchange definition based on the selected data elements, which you then complete in the Data Exchange Framework. This creates a record on the **Posting Exchange Definition** page where you continue by defining which elements in the file map to which fields in [!INCLUDE[d365fin](includes/d365fin_md.md)]. For more information, see [Set Up Data Exchange Definitions](across-how-to-set-up-data-exchange-definitions.md).
20
+
When you have defined which data elements to include based on the XML schema, you can use the **Generate Data Exchange Definition** action to initialize a data exchange definition based on the selected data elements, which you then complete in the Data Exchange Framework. This creates a record on the **Posting Exchange Definition** page where you continue by defining which elements in the file map to which fields in [!INCLUDE[d365fin](includes/d365fin_md.md)]. For more information, see [Set Up Data Exchange Definitions](across-how-to-set-up-data-exchange-definitions.md).
23
21
24
22
This topic contains the following procedures:
25
23
@@ -29,10 +27,6 @@ To enable import/export of data in XML files through the data exchange framework
29
27
30
28
- To generate a data exchange definition that is based on an XML schema
31
29
32
-
- To generate an XMLport for the file that is based on an XML schema
33
-
34
-
- To add the XMLport to your app
35
-
36
30
## To load an XML schema file
37
31
38
32
1. Make sure that the relevant XML schema file is available. The file extension is .xsd.
@@ -110,19 +104,8 @@ To enable import/export of data in XML files through the data exchange framework
110
104
> [!NOTE]
111
105
> You can also use the **Get File Structure** function from the **Posting Exchange Definition** page, which uses the functionality of the **XML Schema Viewer** page to prefill the **Column Definitions** TastTab.
112
106
113
-
### To generate an XMLport that is based on an XML schema
114
-
115
-
1. Choose the  icon, enter **XML Schemas**, and then choose the related link.
116
-
117
-
2. Select the relevant XML schema, and then choose the **Open XML Schema Viewer** action.
118
-
119
-
3. In the **New XMLport No.** field, specify the number that the new XMLport object will be given when it is generated.
120
-
121
-
4. Make sure the relevant nodes are selected. For more information, see the [To select or clear nodes in an XML schema](#to-select-or-clear-nodes-in-an-xml-schema) section.
122
-
123
-
5. Choose the **Generate XMLport** action, and then save the object as an .al file in an appropriate location.
124
-
125
-
6. Add the .al file to your extension project in Visual Studio Code and compile the app. For more information, see [XMLport Overview](/dynamics365/business-central/dev-itpro/developer/devenv-xmlport-overview) in the developer content.
107
+
> [!NOTE]
108
+
> In 2019 release wave 1 and earlier versions, you could generate an XMLport that was based on the schema and then import that into your solution. This is no longer supported.
0 commit comments