The Data section is available in the project editor, enabling you to filter the data to be embedded into mobile devices. With 4D v19 R4, this data section has been improved to better understand what will be included in your application.
Reminder
As a reminder, this Data section has been created to significantly reduce embedded data and get only relevant data into your mobile apps (example: only invoices from the last year or customers of a specific sales team, filtered by region).
This Data section will also help you during your development and testing phases, allowing you to:
- define where the data comes from (Current data file or a Distant server data file)
- generate a data set that will be embedded into the generated app using filter queries
- specify if you want to regenerate data automatically each time you build your app
To help you save time during the build process when you are developing your app, two options are available:
- Do not include images
- Do not regenerate data at each build
As their name suggests, if your data stays stable, those options will allow you to avoid image and data generation at each build.
Finally, the Regenerate button allows you to regenerate a fresh data set:
What’s new?
Today we improved this section to give you more information about the data you will send to your mobile device. For example, you will get the exact number of entities and the data size for each data class, avoiding getting too much data in your mobile app.
This data section will also allow you to check your query validity by clicking on the Validate button. You will get more visual feedback about your query validation with error messages displayed if the query is not correct.
Finally, if you generate a new data set, a new progress bar is displayed, as well as a Cancel button, so you can easily cancel the generation process at any moment. It’s very convenient for visualising big data generation and cancel the process to make up for a filter query mistake 😉
Don’t hesitate to give us feedback on the 4D forum, and check out the documentation for more details!