Add-on applications may add application data to (items in) the Content Manager. You can purge this data to free up space in your database.
Before you begin
To purge application data, you must have system administration rights. You must also have the DLL for purging loaded in Windows PowerShell.
CAUTION:
You cannot undo this operation. Do not purge application data that belongs to features or applications installed on the system. Purging such application data can result in irrecoverable damage to your system.
Procedure
- From the PowerShell command prompt, enter the command
Get-TcmApplicationIds. The command returns an array of Strings containing the IDs of add-on applications present on this Content Manager instance. (You can interact with the Core Service API to determine which ID belongs to which add-on.)
- Enter the command
Remove-TcmApplicationData, applying the following parameters:
TcmApplicationIds
-
An array of
Strings containing one or more IDs returned by Get-TcmApplicationIds, indication which application data you want to purge. This is a positional parameter: you do not need to provide the -TcmApplicationIds switch. As a result, you can also combine Get-TcmApplicationIds and Remove-TcmApplicationData in a single pipeline command: Get-TcmApplicationData | Remove-TcmApplicationData.
SDL Tridion Sites purges the application data for the application(s) whose ID(s) you specified. There is no return value.