Publication states list
Use the ListPublications.exe tool to list the saved publication states for one or all projects. Start the Windows command prompt and execute the tool.
Parameters
The tool has the following parameters:
Parameter | Required / Optional | Description |
---|---|---|
Instance!Number | Required | Instance number the tool should operate on.
For Docker, it is always set to 1. |
Repository!User | Optional | Only required when the LDAP mode is disabled. User account in KCM Designer. This account needs no special authorization. |
Repository!Password | Optional | Only required when the LDAP mode is disabled. Password for the KCM Designer user account. |
Repository!Token | Optional | Only required when the LDAP mode is enabled. Logon token generated with KCM Designer. For more information, see "Log in to KCM Designer and KCM Designer for Windows" in KCM Designer Help. |
Repository!Project | Optional | Name of the project with the saved publication states to list. If omitted, the saved publication states for all projects are listed. |
Examples
Example 1: LDAP mode is disabled
ListPublications.exe Instance!Number=1
Repository!User=administrator Repository!Password=******
Repository!Project=InstallationTest
Example 2: LDAP mode is enabled
ListPublications.exe Instance!Number=1
Repository!Token=1n2Z58JX
Repository!Project=InstallationTest
The list is chronologically ordered and shows the difference between the saved publication state and the current publication state with the following markings:
- The [cur] marking indicates the current published state.
- The [prv] marking signifies the previous published state.
Also, the list shows the date and time a saved publication state was created, the user who performed the publish action, and the date and time it was superseded by a newer saved publication state.