Good Day, I have been sitting with the below problem and have tried everything to resolve it. So my logic is simple when a customer has more than vehicle in list then the list must be displayed into the dynamic list.
The below logic gets the data from a “Repeater Data item” and takes the “vehicles” and enters it into “vehiclesTableList”.
I have printed “vehicleTableList” in the above logic and get the following…
Now I think this is where the problem lies as it seems that each vehicle’s information is two levels down, I have added that “GetVehiclesList” function in order to filter this but it does not seem to be working.
Kind Regards
Donovan
Hello @Donovan_Hardwick!
Could you please show me what is in the table__conteiner-vehicle
now and what do you expect to get?
Regards,
Alexander
Hi @Alexander_Pavelko
This is how it will look.
I would like to get the “make”, “vin” and “licence”.
Kind Regards
Donovan
Could you please create a test page with just this functionality, so I can log into your app and figure out what the problem might be?
Regards,
Alexander
I have created a copy of the page.
App ID: 56447795-182A-D679-FF9E-05029343F800
Page Name: examplePage
Page login details if needed…
User Name: demo@demo.com
Password: 12345
Finding the fault…
- Once the page opens click on the search icon on the first green column.
- In the third row click on the green button (Main coding is contained in this button).
- Error will occur.
Kind Regards
Donovan
Thank you, I’ll write to you as soon as I figure it out.
Regards,
Alexander
@Donovan_Hardwick,
I found the problem, now everything works correctly
The problem was that the search-vehicle
block was hidden and the repeater that was in it just didn’t exist.
I recommend using css styles for this.
Nice app, by the way!
Regards,
Alexander
Thanks @Alexander_Pavelko
But in the codeless logic I toggle the visibility to true just before the information is sent to it, see below screenshot.
Kind Regards
Donovan
Yes, I know, but if you print it into the console afterwards, it equals undefined
.
Regards,
Alexander
Wow, I just learned something new. Thank you @Alexander_Pavelko, you guys have really made building this app easy.
Kind Regards
Donovan
Thank you @Donovan_Hardwick!
I’m glad I could help!
Regards,
Alexander