The archive policy is a series of settings for controlling whether or not to use multiple versions for a specific resource, for specifying the maximum version amount and archive location, and for controlling whether or not to auto-delete versions after a certain period of time.
Archive policy parameters
| Parameters | Values | Description | Parameters | Values | Description |
|
APIConst.TAG_ENABLE_ARCHIVE_POLICY |
true /false |
Whether or not to apply a new archive policy. |
|||
|
APIConst.TAG_AUTO_ARCHIVE |
true /false |
Whether or not to auto-archive the viewed result. |
|||
|
APIConst.TAG_ARCHIVE_LOCATION |
0 |
Built-in version folder is used as the result archiving location. |
|||
|
1 |
The My Reports folder is used as the result archiving location. |
||||
|
APICONST. TAG_ARCHIVE_MY_DESTINATION |
Sub folder name in the My Reports folder for this user. For example, /rtp100, which means to output the file to /USERFOLDERPATH/<userid>/rtp100. |
||||
|
2 |
The Public Reports folder is used as the result archiving location. |
||||
|
APICONST. TAG_ARCHIVE_PUBLIC_DESTINATION |
Sub folder name in the Public Reports folder for all the users. For example, /ActimizeTest/rtp100 |
||||
|
APIConst.TAG_REPLACE_OLD_VERSION |
true /false |
Whether or not to replace the previous version. |
|||
|
APIConst.TAG_ARCHIVE_NEW_VERSION |
true /false |
Whether or not to archive the next version as a new version. |
|||
|
APICONST. TAG_NEED_MAXVERSION |
0 or N |
The number of versions to keep for this report set result. |
|||
|
APICONST.TAG_NEED_EXPIRE |
true /false |
Whether or not to auto delete this version. |
|||
|
APIConst.TAG_EXPIRE_METHOD |
0 |
Version expires after a number of days. |
|||
|
APIConst.DAY_EXPIRE |
Number |
The number of days until a version expires. |
|||
|
1 |
Version expires after a certain date. |
||||
|
APIConst.TAG_EXPIRE_YEAR |
Number |
The year of expiration. |
|||
|
APIConst.TAG_EXPIRE_MONTH |
Number |
The month of expiration. |
|||
|
APIConst.TAG_EXPIRE_DATE |
Number |
The date of expiration. |