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
@@ -68,7 +68,7 @@ In order to set up import templates for importing data, your application model m
68
68
4. Click the menu item for the **MxObjects_Overview** in your navigation.
69
69
5. Select the module that contains the objects you want to use in your client by checking the box to the left of it. In this example, the module is **MyFirstModule**:
6. Click the button next to **Synchronize all entities and microflows of checked modules on the left**. Now, the two objects and the parse microflow from the **MyFirstModule** module can be seen and used in the client.
74
74
@@ -78,26 +78,26 @@ Before you can import data from an Excel File, you have to set up an import temp
78
78
79
79
In this section, you will import data from a simple Excel file example, which can be downloaded here:
6. Click the arrow next to the **Reference to import objects** box.
97
97
7. Select the **MyFirstModule.Customer_XLSFile** association. By setting the association to the XLS file, the XLS file is saved on disk and the imported data is linked to the source file.
98
98
8. Make sure **Import Action** is set to **Synchronize objects**:
{{% alert color="info" %}}For this example, you use a simple Excel file that has only one sheet and column headers on the first row. If a more comprehensive Excel file is used, you can change these values in the **Sheet nr**, **Header row nr**, and **Import from row nr** fields.{{% /alert %}}
103
103
@@ -110,17 +110,17 @@ Based on the structure of the file you want to import, you need to manually set
110
110
12. Select **Attribute** for the **Type**.
111
111
13. Click the arrow next to the **Attribute** box:
{{% alert color="info" %}}If the mapping is set up correctly, a green check appears in front of the row.{{% /alert %}}
126
126
@@ -133,11 +133,11 @@ Based on the structure of the file you want to import, you need to manually set
133
133
6. For the mapping of attribute **Number**, set the **Key** value to **Yes, only for the associated object** in order to prevent orders from being duplicated.
17. For the mapping of the **OrderStatus** attribute, the Excel file value needs to be parsed to an enumeration value. To achieve this, use the **IVK_ParseStatus** microflow (created in the [Preparing the Logic for Data Import](#preparing) section above). Click the arrow next to the **Parse with** box and select the **IVK_ParseStatus** microflow:
## Automatically Creating an Import Template via an Excel File
168
168
169
169
In this section, you will create the same Excel template in an automated way, which you can do using the specific **New template by excelfile** button. You can use this same Excel file example:
This will automatically match attributes of the selected Mendix object that have the same name as the **Caption**.
198
198
@@ -209,11 +209,11 @@ Follow these steps to export and import your template:
209
209
1. Click the menu item for **ExcelImportOverview** in the navigation of your app's home page.
210
210
2. Click the Excel template you created in the [Creating the Import Template](#creating) section above to select it, then click **Export template** and save the file on your computer:
0 commit comments