New Model Action Initiating Event: Pageload

Matt SonesMatt Sones ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
edited June 25, 2020 in Ideas
Adding 'pageload' as an initiating event for model actions would eliminate a significant portion of the inline javascript that I have to write.ย 
2
2 votes

Awaiting Review ยท Last Updated

Comments

  • Pat VachonPat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited June 25, 2020
    +1
  • JD BellJD Bell โœญโœญ
    edited March 16, 2018
    It's not always appropriate, but you can set the model to be processed client side, which will delay loading of data and metadata until the page has finished loading. This will cause a "requery" event as soon as the page has finished loading, which gives you the ability to set an action on the first load of data.

    This is not ideal, but it can work in limited situations until something more comprehensive is available.
  • Matt SonesMatt Sones ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited February 10, 2017
    Thanks. I didn't understand what the client side processing really did, but it's beginning to make sense.
  • Emily DavisEmily Davis โœญโœญโœญโœญ

    Hey Matt,

    Just checking in here, I think what you're doing would now be possible through an Event-Triggered Action Sequence on the "Skuid Page: Rendered" event? (https://docs.skuid.com/latest/en/skuid/action-framework/action-sequences/#event-triggered-sequences)

    Emily

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!