On page load js errors not part of UI Builder logic or UI

application Id 45F4AD7D-0C9A-4A6A-FF23-2666FDC93000
page name - businessDetailsTopMenu
console output -

Errors appear to be from page load. New page does not throw errors. I’ve done alot of UI work to page and loathed to start from scratch. Can you advise?
Regards,
Paul

Hello @Paul_HIllen

There are two errors on this page.

  1. In “On Page Enter” logic, you trying to get the first occurrence of text with a value which not exists every time. It throws an error trying get first occurrence of text with value which not exist
  2. In “buildingNameBttn” in the list rsBuildingConfigData which does not exist every time you try to get first element. Error same to first. You trying to do something with a value which is not exist
    Also to get the first list element you should use:
    UI Builder - AAA_Viktor_test - Backendless 2022-09-01 11-37-43
    UI Builder - AAA_Viktor_test - Backendless 2022-09-01 11-37-33

Regards

Thanks Viktor,
Sorry I missed that.
You live and learn!
Regards,
Paul