Intermittently loading data from Salesforce

I have a Skuid page that will intermittently load data. Many times it will say there is no data and then a few minutes later it will say that it is “Unable to Connect to Server (transaction aborted: timeout)”. Other times, it will say no data and then a few minutes later it will display data.

Many of our models are not set to query on page load but they will be queried after the page has rendered. This was done to try to speed up perceived load time. Models set to be queried once a tab is selected load just fine.

How can I figure out which model or other problem is causing the timeout?

  1. Hi Jamie, here is what I would do to find out which model is related to this issue:

    Clone the Skuid page

  2. Delete one of the models & save the page
  3. Preview the page to check whether the issue persists
  4. If yes, repeat step #2 and #3 until the error is gone

That way, you delete the models one by one and it will hopefully lead you to the model in question. Next step would be to check if the issue is related e.g. to the Model settings, or the Data Source. Does that make sense? Please let me know if this is helpful for you!

Regards,

Luzie

Thanks @Luzie_Baumgart . This seems like a good methodology. It might get a little messy with all of the UI elements attached to models but I’ll give it a try.

Good call out @Luzie_Baumgart!

@Jamie_Buck-Tomek were you able to try it out and did it work?

Thanks,

@Germany I was able to try it out. It helped me clean some things up. Unfortunately, the original problem is still there. I’m working with support now, though, and they were able to find several issues in the XML, which I probably would not have seen. But going one by one with each model did allow me to make the page very lean, which is good.

Godo to know! Thanks for the update @Jamie_Buck-Tomek .