Purge Versions

The Purge Versions command maintains the current value and the baseline value of all versioned attributes and parameters but discards all intermediate values. This command can be applied at many different levels enabling fine-grain control of attribute and parameter versions. You will be prompted to confirm before the versions are purged.

 

Versioning is enabled or disabled at the project level. If disabled at the project level, the commands to purge versions will be disabled.

 

 

Baselining Versions versus Purging Versions

Baselining versions clears all attribute and parameter versions except for the current and establishes the current version as the baseline value. Purging versions maintains the current attribute / parameter version and the baseline version but discards all interim versions between the two.

Purging at the Relationship Level

Relationship attributes are not frequently versioned. However, to purge versions for a relationship, select the relationship from the element property sheet. Right-click to access the pop-up menu and select the Purge Versions command from the Manage submenu. You must have administrator privileges for either the source or the target of the relationship in order to purge the versions.

Purging at the Element Level

To purge versions for one or more elements, select the desired elements from the element list in the project explorer. Right-click to access the pop-up menu and select the Purge Versions command from the Manage submenu. You must have administrator privileges for the selected elements in order to purge the versions.

Purging at the Folder Level

To purge versions for all elements in a folder, select the desired folder from the project pane in the project explorer. Right-click to access the pop-up menu and select the Purge Versions command from the Manage submenu. You must have administrator privileges for all elements within the folder.

 

Purging versions at the folder level will purge versions for all elements included in the folder and all subfolders.

Purging at the Package Level

To purge versions for all elements in a package, select the desired package from the project pane in the project explorer. Right-click to access the pop-up menu and select the Purge Versions command from the Manage submenu. You must have administrator privileges for all elements within the package.

 

Purging versions at the folder level will purge versions for all elements included in the package and all subfolders.

Purging at the Project Level

To purge versions for all elements in a project, you may use the project explorer or the administrative tools. From the project explorer, select the Purge Versions command from the Manage submenu on the Project menu. From the administrative tools, select the project in the projects pane and select the Purge Versions command from the Project menu. You must have administrator privileges for the project.

 

Purging versions at the project level purges versions for all relationship attributes as well as all element attributes and parameters.

 

 

Tips and Tricks

In general, purging at the project, folder, or individual element will meet your needs. If not, scripting can be used to purge down to the individual attribute level for one or more elements. Simply run the Purge Attribute History script in the Versioning reports folder.