Repository cleanup scripts

Script Description
cleanAllPrefs

Cleans the preferences for:

  • All the users on all components or on a specified component.
  • A user on all components or on a specified component.

Parameters: [componentName]

Example: cleanUserPrefs Designer

Cleans all the preferences for all the users for the Designer component.

cleanDatasources Deletes the Datasources data from the database for the current application.
cleanDictionaries

Cleans the dictionaries data from the database for the current application.

cleanLibraries

Deletes the Libraries data from the database for the current application.

cleanReportTemplates

Deletes the Report templates data from the database for the current application.

cleanServerConfiguration

Deletes the server configuration data from the database for the current application.

cleanUIConfiguration

Deletes the user interface configuration data from the database for the current application.

cleanConfigurationHistory

Cleans configurations from the Repository history.

[-all] option is used to clean the configuration history for all components. If you do not specify this parameter, it will clean only the application currently opened.

Parameter: [-all]

cleanInteractionEvents

Clean event table for an interaction name [-name interactionName] and/or a creation date range [-start startDate] [-end endDate].

The date format: 'yyyy-MM-dd HH:mm:ss'

Parameter: [-name interactionName] [-start startDate] [-end endDate]

cleanUserPrefs

Cleans a user preferences for all components or for a specified component.

Parameters: <userName> [componentName]

Example: cleanUserPrefs userABC Designer

Cleans all the preferences for the userABC user for the Designer component.

Related Links