I was using the following code in V1 to refresh the current page can someone help me with the new code for V2 as hours of trial and error have failed:
var current_view = app.getCurrentView();
Thanks in advance!
ignoreCache : true,
reloadCurrent : true
Worked a charm! Thanks so much for the fast response