Dashboard controls cache

Stimulsoft Reports.WEB discussion
Post Reply
leosbrf
Posts: 21
Joined: Wed Nov 07, 2018 2:46 pm

Dashboard controls cache

Post 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.
leosbrf
Posts: 21
Joined: Wed Nov 07, 2018 2:46 pm

Re: Dashboard controls cache

Post by leosbrf »

After some testing, my team also noticed that when you do a drill down, the data gets refreshed...
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Dashboard controls cache

Post by Lech Kulikowski »

Hello,

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

Thank you.
leosbrf
Posts: 21
Joined: Wed Nov 07, 2018 2:46 pm

Re: Dashboard controls cache

Post by leosbrf »

I sent it by e-mail just now.

Thanks in advance.
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Dashboard controls cache

Post 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.
Post Reply