Automatic Report Refresh via IAutomation
Content
I have an add-in where I run a report from the code, but when someone runs the report again with a different filter the report doesn't refresh its data. The documentation for the February 2016 says there is now a way to automatically refresh report data by using the overloaded method of run report. My issue is I can't seem to find the add-in templates that have overloaded method that allows the report to refresh. I re-downloaded and installed the templates but I still don't see it. Can someone advise what I need to do?
Thank you!
You can refresh reports automatically by using IAutomationContext and overloading the RunReport method with the Boolean refreshIfOpen set to
0