Clear Batch & Output Management metadata
You can clear all Batch & Output Management metadata from KCM Repository using the ClearOutputManagementMetadata command-line tool. It is located at: <deploy root>\KCM\Programs\<version>\Management\Instance.
Parameters
The tool uses the following parameters.
Parameter | Required / Optional | Description |
Instance!Number | Required | Specifies the number of the instance for which the management task should be applied.
For Docker, it is always set to 1. |
Repository!User | Optional
Only required when the LDAP mode is disabled. |
Specifies the name of a KCM Repository user with the "Allow login as Admin" right. |
Repository!Password | Optional
Only required when the LDAP mode is disabled. |
Specifies the password of the KCM Repository user. |
Repository!Token | Optional
Only required when the LDAP mode is enabled. |
Specifies the logon token generated with KCM Designer. For more information, see "Log in to KCM Designer and KCM Designer for Windows" in Help for KCM Designer. |
Report!File | Optional | Specifies the name of the report file written by the management action. The use of this file
depends on the specific task, as described in this chapter. If omitted, the default value is
output-management-metadata-report.txt.
If the path or file name given in this parameter already exists, it is overwritten.
|
The resulted report file contains a list of Document Pack Templates that refer to the Batch & Output Management metadata. If no such Document Pack Templates exist, the tool reports that the metadata is cleared successfully.
Example
Execute the following command, adding the actual parameter values.
.\ClearOutputManagementMetadata.exe Instance!Number=1 Repository!User=<username>
Repository!Password=<password> Report!File=<report filename>