Generally, report result versions are created when an end user runs a report using Advanced Run or Schedule Run. However, to create a new version for a report, library component, or catalog, you have to publish them respectively from outside of JReport Server, and then make the old and the new share one common resource node. Versions of a dashboard are generated by saving the dashboard, and each saving action will create a version in the dashboard.
The method for creating a new version to a report, library component, or catalog is by publishing a resource of the same type with exactly the same name to the same location on JReport Server. For how to publish, see Publishing resources.
When publishing resources, you need to apply an archive policy so as to make the published resources saved into the existing resources as a new version.
Note: Catalogs are by default not displayed in the server resource tree on the JReport Console page. In order to perform operations on catalogs published from outside of JReport Server on the JReport Console page, you need to enable them to be displayed first by setting the web.page.option.show_catalog property to true in the server.properties file.
A report result version can only be created by advanced running the report or by scheduling the report to publish it to the versioning system on the JReport Console page.
Then, when the report finishes running, a report result version will be generated to the location specified.
After a dashboard is saved into the server resource tree, you may want to update or modify it, and then save the changes, which will add a new version in the dashboard.
Notes:
/foldername/filename
.