What does the step do

Hi Forum,   Could you explain to me why I shall delete those two objects? Thank you.   Setting Up a Mapping Now that you’ve told Mendix what your data looks like, you’ll have to map it to data structures in Mendix. This is done via an Import Mapping. Right-click the Import folder and select Import Mapping from the Add Other sub menu. Can you guess the naming convention here? The name should be ImM_Department_Employee. Select the JSON Structure from the previous assignment. Copy the selection from the image below. Carefully note the two items which are not selected.
1 answers

Hi Wenyu Huang,


Let’s break down the steps for setting up the import mapping in Mendix:

  1. Import Mapping:

    • An import mapping defines how data from an external source (such as JSON) is mapped to Mendix entities and attributes.
    • It allows you to transform and load data into your Mendix application.
  2. Naming Convention:

    • The naming convention for the import mapping should be ImM_Department_Employee.
    • This convention helps maintain consistency and clarity in your project structure.
  3. Selecting the JSON Structure:

    • You’ve already defined the structure of your JSON data.
    • Now, create an import mapping by right-clicking the Import folder and selecting Import Mapping.
    • Choose the JSON structure you’ve previously configured.
  4. Mapping Data:

    • In the import mapping, you’ll map the JSON data to Mendix entities and attributes.
    • For each field in your JSON, specify the corresponding Mendix attribute.
    • Pay attention to the two items that were not selected in your screenshot—they might be related to specific fields or transformations.

Remember, the import mapping process ensures that your data is correctly loaded into Mendix, allowing you to work with it effectively.

Happy Mendix Development.