Skip to content

Commit 38ef7da

Browse files
committed
Rename Export XML docs
1 parent 2cf7206 commit 38ef7da

26 files changed

+24
-24
lines changed

content/en/docs/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,30 +29,30 @@ Before starting this how-to, make sure you have completed the following prerequi
2929

3030
1. Create the following **Customer** entity in your domain model:
3131

32-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581816.png" class="no-border" >}}
32+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/customer-entity.png" class="no-border" >}}
3333

3434
2. Create overview and detail pages to manage the Customer objects.
3535
3. Create a menu item to access the customer overview page.
3636
4. Create the **XMLDocument** entity that inherits all the properties from *System.FileDocument*:
3737

38-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581650.png" class="no-border" >}}
38+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/xmldocument-entity.png" class="no-border" >}}
3939

4040
5. Create a reference set (multiplicity **[*-*]**) between XMLDocument and Customer:
4141

42-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581814.png" class="no-border" >}}
42+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/reference-set.png" class="no-border" >}}
4343

4444
## Adding an XML Schema (XSD)
4545

46-
Whether you plan to import documents or export documents, working with XML means that your application must contain an XML schema (also called XSD). An XSD describes the possible contents of an XML file. Based on this XSD, your application knows how to read or write an XML file. If you don't have an XSD file, there are a couple of online XSD generators that accept an XML document as input. For this how-to, you can use [Customers.xsd](/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581813.xsd).
46+
Whether you plan to import documents or export documents, working with XML means that your application must contain an XML schema (also called XSD). An XSD describes the possible contents of an XML file. Based on this XSD, your application knows how to read or write an XML file. If you don't have an XSD file, there are a couple of online XSD generators that accept an XML document as input. For this how-to, you can use [Customers.xsd](/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/customer-schema.xsd).
4747

4848
1. Right-click your module in the **App Explorer** and select **Add other** > **XML schema**.
4949
2. Enter *CustomersXSD* for the **Name** and click **OK**:
5050

51-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581696.png" class="no-border" >}}
51+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/name-schema.png" class="no-border" >}}
5252

5353
3. In the **XML Schema** editor, click **Select** for **XML Schema** and select the XSD file that you downloaded earlier:
5454

55-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581812.png" class="no-border" >}}
55+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/schema-editor.png" class="no-border" >}}
5656

5757
4. Click **OK** to save the XML Schema. We'll be using this schema in the following steps.
5858

@@ -63,39 +63,39 @@ The XML schema describes what the contents of an XML document should be. We need
6363
1. Right-click your module in the **App Explorer** and select **Add other** > **Export mapping**.
6464
2. Enter *ExportCustomersMapping* for the **Name**:
6565

66-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581849.png" class="no-border" >}}
66+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/name-mapping.png" class="no-border" >}}
6767

6868
3. Click **OK**, and the **Select schema elements for export mapping** dialog box will automatically open. Now do the following:<br />
6969
1. For **Schema source**, select **XML schema**.<br />
7070
1. For the schema, select the previously added **CustomersXSD**.<br />
7171
1. In the **Schema elements** section of the dialog box, click the **Expand all** and **Check all** buttons. This automatically selects the **Customer** element and its child elements. Your screen should now look like this:
7272

73-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581811.png" class="no-border" >}}
73+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/select-schema-elements.png" class="no-border" >}}
7474

7575
4. Click **OK**. You should now see the first part of the import mappings:
7676

77-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581810.png" class="no-border" >}}
77+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/im-part-1.png" class="no-border" >}}
7878

7979
5. Open the **Connector** pane and drag the **XMLDocument** entity from the **Connector** into the placeholder:
8080

81-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581809.png" class="no-border" >}}
81+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/connector-pane.png" class="no-border" >}}
8282

8383
The mapping editor for this element will pop up which can be closed by clicking **OK**.
8484

8585
6. Drag the **Customer** entity from the **Connector** into the placeholder:
8686

87-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581808.png" class="no-border" >}}
87+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/drag-entity.png" class="no-border" >}}
8888

8989
The mapping editor for this element will open up:
9090

91-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581806.png" class="no-border" >}}
91+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/mapping-editor.png" class="no-border" >}}
9292

9393
7. In the mapping editor, verify the following:<br />
9494
* **Method** is set to **By association**<br />
9595
* **Association to parent** is set to **XMLDocument_Customer**<br />
9696
8. Select attributes for all five **Attribute to value element mapping** instances (or click **Map attributes by name**). You should have the following mapping:
9797

98-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581807.png" class="no-border" >}}
98+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/select-attributes.png" class="no-border" >}}
9999

100100
9. Click **OK** to save the mapping.
101101

@@ -107,14 +107,14 @@ To create the export logic, follow these steps:
107107

108108
1. Open the **Customer** overview page, right-click the toolbar of the data grid widget, and select **Add button** > **Action** to add a new Action button:
109109

110-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581804.png" class="no-border" >}}
110+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/add-action-button.png" class="no-border" >}}
111111

112112
2. Double-click the new button to open the properties editor and do the following:
113113
* For **Caption**, enter *Export as XML*
114114
* For **On click**, select **Call a microflow**
115115
* In the **Select Microflow** dialog box, click **New** to create a new microflow and enter *Customers_Export* for its **Name**
116116

117-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581803.png" class="no-border" >}}
117+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/action-button-editor.png" class="no-border" >}}
118118

119119
3. Click **OK** to save the button properties.
120120
4. Right-click the new action button and click **Go to microflow** in the context menu. You should see an empty microflow with one input parameter:
@@ -128,24 +128,24 @@ To create the export logic, follow these steps:
128128
* For **Source**, select **From database**
129129
* For **Entity**, click **Select...** and select the customer entity
130130

131-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581830.png" class="no-border" >}}
131+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/retrieve-objects.png" class="no-border" >}}
132132

133133
9. Click **OK**. The microflow should now look like this:
134134

135-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581827.png" class="no-border" >}}
135+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/microflow.png" class="no-border" >}}
136136

137137
10. Drag a **Create object** activity from the **Toolbox** to the line between the start event and end event.
138138
11. Double-click the activity to open the **Create Object** editor and do the following:
139139
* For **Entity**, select **XMLDocument**
140140
* Click **New** to add a change item
141141

142-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581801.png" class="no-border" >}}
142+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/create-object-editor.png" class="no-border" >}}
143143

144144
12. In the **Edit Change Item** editor, do the following:
145145
* For the **Member**, for the change item, select the **XMLDocument_Customer** reference:
146146
* For the **Value**, enter `$CustomerList`
147147

148-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581825.png" class="no-border" >}}
148+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/edit-changed-item.png" class="no-border" >}}
149149

150150
13. Click **OK** to save the change item.
151151
14. Create a change item to set the **Name** attribute to *'customers.xml'* (including the single quotation marks [']). The **Create Object** dialog box should now look like this:
@@ -154,7 +154,7 @@ To create the export logic, follow these steps:
154154

155155
15. Click **OK** to save the action properties. The microflow should look like this:
156156

157-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581823.png" class="no-border" >}}
157+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/microflow-final.png" class="no-border" >}}
158158

159159
16. Drag an **Export with mapping** activity from the **Toolbox** to the line between the start event and end event. This inserts a new export XML activity.
160160
17. Double-click the new activity to open the properties editor and do the following:
@@ -163,20 +163,20 @@ To create the export logic, follow these steps:
163163
* For the **Parameter**, select the created **NewXMLDocument**
164164
* For the output **Name**, select the created **NewXMLDocument**
165165

166-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581822.png" class="no-border" >}}
166+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/export-with-mapping-dialog.png" class="no-border" >}}
167167

168168
18. Click **OK** to save the properties. The microflow should look like this:
169169

170-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581821.png" class="no-border" >}}
170+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/save-microflow.png" class="no-border" >}}
171171

172172
19. Drag a **Download file** activity from the **Toolbox** to the line between the start event and end event.
173173
20. Double-click the activity to open the **Download File** dialog box and select **NewXMLDocument** as the **File document**:
174174

175-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581818.png" class="no-border" >}}
175+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/download-file.png" class="no-border" >}}
176176

177177
21. Click **OK**. The microflow should now look like this:
178178

179-
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/18581819.png" class="no-border" >}}
179+
{{< figure src="/attachments/refguide10/modeling/integration/mapping-documents/xml-documents/export-xml-documents/edited-microflow.png" class="no-border" >}}
180180

181181
22. Deploy the application and open the customer overview page.
182182
23. Click the **Export as XML** button and download the generated XML document.

0 commit comments

Comments
 (0)