Creating reports and dashboards | Stimulsoft community forum
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
I'm using a base report as template to make another, when I use "Save As" and change filename, the XML parameter "ReportFile" is not changed.
So when I open this new file and make some changes, the original file is modified.
When you open MRT file, ReportFile property will automatically be overwritten with the correct value. So you can, for example, copy a file to another location and it will be correctly saved when opened. Also when the file is saved, the save path for the internal report object will be correct, the original file will not be overwritten.
We could not reproduce this error on 2015.1 build (AIR designer for Java). We have two test scenarios:
- Copy some Report1.mrt to c:\
- Open this report
- Make some changes
- Save As Report2.mrt to c:\
- Make some changes
- Press Save
In this case, Reprot2.mrt has been updated, Report1.mrt was original.
- Create a new report in AIR designer
- Save this report as Report1.mrt to c:\
- Make some changes
- Save As Report2.mrt to c:\
- Make some changes
- Press Save
In this case, Reprot2.mrt has been updated, Report1.mrt was original.
Please tell us the scenario, in which case the original report will be overwritten.
- Open Report1.mrt
- Save As to Report2.mrt
- Close Designer
- Two clicks on Report2.mrt (open automatically by designer)
- Change components (delete, insert, ...)
- Click Save Report
- Close Designer
- Now, open the Report1.mrt
The changes on Report2.mrt altered the Original Report.