Skip to main content
Nintex Community Menu Bar
Question

Reload a Lightning Component from Actions done on a SKUID Page

  • July 11, 2024
  • 6 replies
  • 57 views
  • Translate All

Forum|alt.badge.img+5

Perhaps I am overlooking this, but I can’t find anything on how to reload a standard lightning component (i.e. related list) from a SKUID lightning component in which I am performing an action (creating a record that would end up on that related list). Wondering if this is possible natively?

This topic has been closed for replies.

6 replies

Forum|alt.badge.img+13

Use the “Publish Event” action to fire the “force:refreshView” event. Make sure to set “Publishing Scope” to “All Skuid Pages and Lightning Components”. If this doesn’t work the first time, refresh the Page Composer and make sure that your settings “took” — sometimes the “Publishing Scope” if you make a change to the Event Name property.

Translate

Forum|alt.badge.img+13

Also, there is a feature on Models under “Advanced” called “Auto-sync with native Lightning Components” which does this automatically in response to Model saves / queries — as well as the reverse behavior, of listening for Lightning events and automatically re-querying the selected Model. Depending on what you’re trying to do, I’d recommend trying that feature first before using the Publish Event.

Translate

Forum|alt.badge.img+5

Zack, thank you for the response. Is this a new Spark feature or is it available in Milau?

Translate

Forum|alt.badge.img+5

This worked perfectly. Thank you Zack.

Wishing safety to you, your family, and the SKUID family during these trying times.

Translate

Forum|alt.badge.img+13

Thank you Nicholas, to you as well! 

Translate

Forum|alt.badge.img+13

“Publish Event” with ability to publish Lightning Application Events has been around since Millau Update 2 I believe.

Translate