Documentation Center

Purging application data

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.

Procedure

  1. 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.)
  2. 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.