Skip to main content
Nintex Community Menu Bar
Question

Javascript to refresh all components related to a model?

  • July 12, 2024
  • 1 reply
  • 23 views

Forum|alt.badge.img+10

Is there some javascript I can run that will refresh all components related to a model?

For example, let’s say I reorder the model.data array myself using javascript, this will not refresh components that use the model to show the new order. I could do a refresh on each component I know about individually, but is there some mechanism that just knows what related components exist and allows a refresh on all of them with a function call?

Thanks!

1 reply

annajosephine
Nintex Employee
Forum|alt.badge.img+18
  • Nintex Employee
  • July 12, 2024

Hey Mark, thanks for your question. Is there a reason why re-querying the model via the action framework wouldn’t work for you here? Does that respect the re-ordering? There’s also a Sort Model action available in the action framework.