We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Automatic Report Refresh via IAutomation

Question
20
Views
0
Comments
edited Mar 30, 2016 5:18PM in UI Extensibility

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 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!