I’m currently working on UI Masterclass Object Retrieval lesson.
When creating the Repeater Data Logic for the cities block, “countries” Repeater item shows up instead of “cities”.
Can you help please.
Dudley Horner
Sorry Viktor. The link is https://www.youtube.com/watch?v=13KTBtX7f8k&list=PLGLLCDpuMg3GJZ2odVq7DcllTlyZgtvRN&index=2&t=1350s
@Dudley_Horner
It is hard to understand what actual result you have. Can you show us? Or provide us with you appId and page name example placed.
Viktor, the App Id is 6D2C2C30-83EE-46ED-FF0E-5148247B1500 and there is only one page - Data Retrieval. The problem is in the Logic for the cities block. “Countries” Repeater Data Item is showing up instead of “Cities”.
Regards
Dudley
I got it.
Since the publication of the video block has been renamed.
The block " ‘countries’ Repeater Data Item " is equal to the block “cities Data”.
In the video “cities” is the name of the repeater item block. So “Repeater Data Item” = “item Data”
Regards
Viktor, sorry to trouble you again but I’m still having problems.
I’ve used " ‘countries’ Repeater Data Item" but the cities still will not show up when I run the app.
I’ve checked everything I can think of and there is no error showing in the Consul.
Can you help please?
Dudley
Hi Dudely,
The reason it doesn’t work is that none of the cities have related country object in the database"
How did you import the data into the database? The sample files we provide include all the relations.
Regards,
Mark
Thanks very much Mark. I’ve got it working now.
I downloaded the file from your YouTube video Database Integration - Object(s) Retrieval - YouTube
The problem seems to lie in the way I have had to import the tables. I can’t open the zip folder so I have had to import the files separately using Data Service. This seems to result in a corruption of the tables. On some occasions I get no data at all although the schema is okay.
On another occasion the Cities Table did not have a Country relation column and I added it myself although, I omitted to add a relation to the individual cities.
On the last occasion the column was named CountryCode and I amended the title.
Thanks for all your help. I should add that I have been impressed by the way in which your support staff have dealt with my problems. They are very responsive, efficient and patient.
Regards
Dudley