Page 1 of 1

Dashboard controls cache

Posted: Thu Dec 13, 2018 2:27 pm
by leosbrf
Description
When I update my data source (removing or adding new records), the dashboard does not get updated. Old data is still being shown.

Expected Result
It should reflect updated data.

Actual Result
It does not show updated data.

Context
I'm using the Dashboard component, but I'm getting cache problems.

I built a dashboard view and the indicators does not reflect the data real time. I hit refresh several times, but still shows old data. The only way to show updated data is:
- I restart the application (I mean restart the IIS website process)
- Go to dashboard, click edit data source and click OK (you don't need to edit anything, just hit OK).

This just happens when I am using dashboards. The reports work fine.

Re: Dashboard controls cache

Posted: Fri Dec 14, 2018 1:32 pm
by leosbrf
After some testing, my team also noticed that when you do a drill down, the data gets refreshed...

Re: Dashboard controls cache

Posted: Sat Dec 15, 2018 10:16 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue. Please send us a sample project which reproduces the issue for analysis.

Thank you.

Re: Dashboard controls cache

Posted: Tue Dec 18, 2018 1:37 am
by leosbrf
I sent it by e-mail just now.

Thanks in advance.

Re: Dashboard controls cache

Posted: Tue Dec 18, 2018 8:11 am
by Lech Kulikowski
Hello,

Thank you for the sample.

Also, please try to use the following code to clear cache:
Stimulsoft.Report.Dashboard.StiCacheCleaner.Clean(report.Key);

Thank you.