Skuid Page: Rendered event-triggered Sequence - will Models have returned all data?

  • 1
  • Question
  • Updated 1 month ago
  • Answered
When using the Skuid Page: Rendered event-triggered sequence, if there are models on the page is this only triggered once the models return their data?

I'm creating a map (like a geological map) and triggering it via a Skuid Page: Rendered snippet. It doesn't quite work. But when I tell it to wait a second or two (via setTimeout) it works fine.

Odd!

Is this maybe also why I keep running into this issue? https://community.skuid.com/skuid/topics/table-components-with-allow-scroll-bars-not-showing-any-dat...

Could it be that there's an issue with Skuid's rendering lifecycle in Lightning?

Cheers!

Louis
Photo of Louis Skelton

Louis Skelton

  • 4,970 Points 4k badge 2x thumb

Posted 1 month ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,262 Points 20k badge 2x thumb
Louis, that is the expected behavior, yes, as long as all of the Models are set to have their data queried on page load, Skuid should wait until those Models are loaded to fire the "Skuid Page: Rendered" event. If this is not what's happening, then it's a bug, but another thing you can do to "ensure" that this is the case is to go into each Model's Advanced properties and ensure that "Process Model client-side" is selected.
Photo of Louis Skelton

Louis Skelton

  • 4,970 Points 4k badge 2x thumb
Also, I meant 'geographical map' above. Not geological. I wish I was making geological maps. I just wanted to clear that up.
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,262 Points 20k badge 2x thumb
Sure, if you can Grant Login Access to the Sandbox to Skuid Support, I can take a look.
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,262 Points 20k badge 2x thumb
Also we have are now adding a "Geological Map" component to the roadmap ;)

People are breaking our doors down trying to get Skuid to show where their rocks and mountains are located
Photo of Louis Skelton

Louis Skelton

  • 4,970 Points 4k badge 2x thumb
Thanks Zach!

Sandbox = 00D0D0000008cxU 
Production = 00Dw0000000D67A 

Lightning Experience
App = Scotty Members
Tab = Members and Guardians

Thank youuuuuu!
Photo of Louis Skelton

Louis Skelton

  • 4,970 Points 4k badge 2x thumb
Interestingly I'm also from time to time having exactly the same issue as I'm recording here: https://community.skuid.com/skuid/topics/table-components-with-allow-scroll-bars-not-showing-any-dat...

But this is in a different org. Here's a screenshot: