Applying an Archive
Logi 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 publish resources to the server resource tree or when you advanced run or schedule a report.
When applying an archive policy, you can choose whether to use multiple versions for a resource or always use the new version to replace the old one.
Archive as New Version
Specifies to use multiple versions for the specified resource.
- Maximum Number of Versions
Specifies the maximum number of versions that will be listed in the version table of the resource. The default value is 0, which means that the version number is unlimited.
Replace Old Version
Specifies to replace the old version when a new version is generated.
If there is no archive policy specified for a resource, the resource will inherit the archive policy from its parent. If afterwards you then specify an archive policy for the resource, the new policy will override the one inherited from the parent.
Below is a list of the sections covered in this topic:
- Applying an Archive Policy to Resources in the Resource Tree
- Applying an Archive Policy to the Built-In Version Table
Applying an Archive Policy to Resources in the Resource Tree
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 when publishing resource | In the publish resource dialog (for how to access the dialog, see Publishing Resources):
| The archive policy is applied to the resource.
Note: A folder by itself does not have versions; the archive policy specified for a folder applies to the folder content. |
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 archive policy unspecified, 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 archive policy unspecified, 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 archive policy unspecified, the resource will use its old archive policy or inherit the archive policy from its parent object, for example, the folder it resides in. |
Applying an Archive Policy to the Built-In Version Table
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 |
|