Importing and exporting your Data Flashcards
When is using app services for importing data considered the best option?
App services are the best option when you need to import data regularly.
What are the different types of services mentioned for importing data?
SOAP
REST
oData
App services (only if importing data from a Mendix App)
What are some other ways to import data besides using services?
Flat file
CSV
Excel
Batch offloads from other systems (when no services are available)
Database replication module
Other connectors (e.g., database)
What is a crucial factor to consider when importing a big set of data?
When importing a big set of data, it is crucial to import the data to a flat structure (single table) first and then run the transformation. Otherwise, performing all operations in memory can cause issues.
When does data transformation typically occur in the import process?
Data transformation can occur either before the import (e.g., in an intermediate layer) or after the import using microflows.
Why is it advised to import data to a flat structure first when dealing with a large dataset?
Importing data to a flat structure first is advised when dealing with a large dataset because it avoids performing all operations in memory, reducing the risk of issues. If there’s an error during the transformation, you won’t lose everything, and you can go over the process again.
What risk is associated with performing data transformation in memory for a large dataset?
If there’s an error while transforming data in memory for a large dataset, you may lose everything and need to start the process again.
In the context of data transformation, what is meant by “everything will be done in memory”?
“Everything will be done in memory” refers to performing all transformation operations on the dataset in the computer’s memory, which can lead to performance issues and potential data loss if an error occurs during the process.
What are the two different meanings of exporting data from a data owner’s point of view?
Providing ways to expose/extract data to be consumed by other applications/systems.
Pushing data to a target system (not recommended).
Why is pushing data to a target system usually not recommended in Mendix?
Pushing data to a target system is not recommended because it would require the owner of the data to have knowledge about the target application’s requirements and specifications.
What are the different services mentioned for exporting data in a Mendix application?
SOAP
REST
oData
App Services
Besides using services, what are some other ways to export data from a Mendix app?
Flat file
CSV
Excel
Other connectors (e.g., database connector) to push data to other systems (less recommended)
When can data transformation occur in the context of exporting data?
Data transformation can occur either before exporting (e.g., in an intermediate layer) or after exporting using microflows.
What is an example of a scenario where data transformation can happen after exporting?
Data transformation can happen in an intermediate layer after exporting, where the exporting application is not responsible for or aware of these transformations.
What is the fastest way to create overview pages for all of the entities in your domain model?
Right click an Entity and select “Generate overview pages…” for all entities.
How can you show data from multiple entities in the same data grid?
Add columns which use associations
Where do you connect User roles to Module roles?
App security
What does your app need in order to import Excel data into a Mendix app?
The Excel Importer module from the Marketplace.
Why shouldn’t you make changes to Marketplace modules?
Updating to a new version of the module erases your changes.