viewer with xml data file - refresh problem
Posted: Fri Dec 02, 2022 1:56 pm
Hi,
something strange happens to me:
I build my report and then I publish the report to be able to open the viewer in my php application.
Then I unzip the file and and install the viewer, where I change the path to a specific local directory.
When I want to update the data, I simply replace the xml data file.
so far so good.
The problem that I have is that, when I replace the data file with a new data file, I need to run the viewer twice before I see the new data file content in the viewer. The first time that I run the viewer will show the content of the old file that does no longer exist (because it has been overwritten with the new data file).
It is like if the file is cached the first time I try.
Anyone could tell me how to solve this?
many many thanks!
Jason
something strange happens to me:
I build my report and then I publish the report to be able to open the viewer in my php application.
Then I unzip the file and and install the viewer, where I change the path to a specific local directory.
When I want to update the data, I simply replace the xml data file.
so far so good.
The problem that I have is that, when I replace the data file with a new data file, I need to run the viewer twice before I see the new data file content in the viewer. The first time that I run the viewer will show the content of the old file that does no longer exist (because it has been overwritten with the new data file).
It is like if the file is cached the first time I try.
Anyone could tell me how to solve this?
many many thanks!
Jason