Refresh Data Source on Page Revisit


#1

I want my data source to refresh every time the user revisits a page. Currently, if they visit the page once, leave, and come back, the previous results are still present and are not refreshed. I’ve set cache on DataSource to false but this didn’t solve it. Any ideas?


#2

I also tried the following behavior on the component with no luck

        {
            "trigger": "show",
            "action": {
                "type": "UIActionRefreshDataSources",
                "refreshDataSource": [ "App.DataSource" ]
            }
        }

#3

Doing the action on the page level worked.