4D for iOS already lets you take advantage of your database relations to create dynamic and complex apps.
But many of our 4D for iOS developers have asked for more, and once again 4D listened! 4D v18 R6 includes splendid features for relation interactions.
Let’s delve into the details!
IMPROVED INTERACTIONS IN YOUR APPS
This is the kind of interaction you can get with this new feature in your mobile app to navigate quickly and efficiently, and optimize the user experience … cool, right?
MANY TO MANY RELATIONS
You can now access and publish One to Many relations from your Many to One relation in the Structure section. In short, this means that for the first time in 4D history, you can display Many to Many relations!
In this example, you can now move directly from the Products List forms to the List form that displays products from the same seller by publishing the One to Many relation.
As you can see, it’s now very easy to use One to Many relations in your List forms and directly access related List forms.
MAKE YOUR FIELD CLICKABLE
In the Forms section, you’re now able to add interaction to a field by dropping a relationship onto it.
Get related record numbers at a glance
To make your life easier, you can display the corresponding record number that you’ll get after clicking on the One to Many relation. Just add %length% to the relation’s Short and/or Long label field in the Labels and Icons section.
Join the discussion on the 4D forum or consult the documentation for more details. See you there!