Valério Costa
Valério Costa

Reputation: 435

Dynamic Action refresh all reports in a page

  1. I have a page with to many reports
  2. When I change an Item I want to refresh all the reports on the page
  3. I have one dynamic action (on item change) that as a lot of refresh (true) actions to refresh all the reports.

I want to know if theres a way/comand/DynamicAction/Code that refreshes all the reports in the page with a single DynamicAction?

Thanks in advance

Upvotes: 1

Views: 2395

Answers (2)

Scott
Scott

Reputation: 5035

Create a single JavaScript action the executes the following

$('.refreshme').trigger('apexrefresh');

And apply the refreshme class to all the regions you'd like to refresh

Region CSS Class

Upvotes: 3

Littlefoot
Littlefoot

Reputation: 142705

How about removing dynamic action and submitting the page once the item is changed? Submit will force all reports to refresh.

Upvotes: 1

Related Questions