I need some inspiration. I'm looking for a way to solve a problem with two record types, that should be linked.
System record Zip List: fields: zip, city, community, region. Each required, each single line text fields and none of them can be unique. Since one zip can be guilty for different cities and on the other hand one city can have different zips. The data is a mess with its own charme.
User record Community: fields: community_name required as single line text, cities required as Dynamic multiple selection referencing Zip List. And some more single and multiple selection fields.
The mechanism works fine in both old and new frontend with Cyclos 4.16.11.
My problem is that there are more than 19000 records in Zip List. The load value script combines all of the values of one record in Zip List to one value string for the DynamicFieldValueVO. This leads to a getData result of 199kb and takes almost 20 seconds to load in the old frontend and 4 minutes to load in the new frontend. Then trying to select a city takes another 10 seconds to open the dropdown.
I'm looking for an elegant solution to connect the cities to a Community.
Any ideas how I could solve this problem?