JReport Server uses an archive policy to control resource versions. The archive policy can be applied to a single resource individually or to many resources in a folder as a whole. It can also be applied when you run (Advanced Mode) or schedule a report.
The archive policy includes settings for controlling the use of multiple versions for a specified resource, and the maximum version amount that will be listed in the version table:
If there is no archive policy specified for a resource, the resource will inherit the archive policy from its parent object. If afterwards you then specify an archive policy for the resource, the new policy will override the one inherited from the parent object.
To apply an archive policy to a resource in the resource tree, refer to the table below:
If you want to | Then do | Result |
---|---|---|
Apply archive policy to a folder |
|
The archive policy will be applied to all of the folder content.
Note: This does not include resources that already have individually applied archive policies. |
Apply archive policy to a resource |
|
The archive policy is applied to the resource, overriding its inherited archive policy.
Note: If you leave the Apply Archive Policy option unchecked, the resource will inherit the archive policy from its parent object, for example, the folder it resides in. |
Apply archive policy when running a task in Advanced mode |
|
The archive policy will be applied to a result type resource.
Note: If you leave the Apply Archive Policy option unchecked, the resource will use its old archive policy or inherit the archive policy from its parent object, for example, the folder it resides in. |
Apply archive policy when scheduling a task |
|
The archive policy is applied to a result type resource.
Note: If you leave the Apply Archive Policy option unchecked, the resource will use its old archive policy or inherit the archive policy from its parent object, for example, the folder it resides in. |
The above table applies to the resource in the resource tree only. The versions in the built-in version folder are controlled by its own archive policy.
To apply an archive policy to the built-in version table, refer to the table below:
If you want to | Then do |
---|---|
Apply archive policy to a built-in version table |
|
Apply archive policy when running a task in Advanced mode |
|
Apply archive policy when scheduling a task |
|