Just google for it and you will find dozens of examples using gReport.search(‘SEARCH’);
And then you upgraded to APEX 5
Because now we can have multiple IR’s on one page and the team made the IR a jquery widget, gReturn no longer exists.
It’s a widget, so this has worked for me:
So If your static Id is “batchRuns” it becomes:
And of course, it’s not documented, you’re not supposed to use the private method, but until the APEX team creates a public method to refresh my IR given the static Id of the region, I will be using this.
Until the next upgrade…
Thanks Edwin, this post just helped me out.