Configuring the Publish service and Publish tool file locations
The config.xml file delivered in the PublishUI folder can be configured to specify the URL of the LiveContent Central Publish service implementation to be used by the Publish tool and the directory in which the tool stores publications, log files, resource and configuration files.
Edit the config.xml file to specify the location of the Publish service and directory in which to store Publish tool resources and output files. The ClientId and Secret information for Publish service and Distribution service can be configured here.
The following additional parameters can be configured and examples are noted in parenthesis: tocTitleForm (0), expandRefPm (true), expandRefDmForWcn (true), resolveCirApplic (true).
The following configuration items are specified in the config.xml file
| Configuration item | Description |
|---|---|
| DiscoveryServiceHost | The host and port information for the Discovery service. By default, this is :http://localhost:2045 |
| PublishServiceClientId | The Client id for the Publish service. This can also be found in the application.yml file for the Publish service located at [LCC_home]/publish-service/config/application.yml |
| DistributionServiceClientId | The Client id for the Distribution service. This can also be found in the application.yml file for the Distribution service located at [LCC_home]/distribution-service/config/application.yml |
| tocTitleForm | Defines the form of the DM title in the TOC. 'techName - infoName' (default), '1' - infoName only, '2' - techName only |
| isoEntitiesPath | Location of local ISOEntities folder, if used. This location must not have a '/' in the end. |
| expandRefPm | Expands references. Default is '1' - true, '0' - false. |
| expandRefDmForWcn | Expands references for warnings, cautions and notes. Default is '1' - true, '0' - false. |
| resolveCirApplic | Enables processing of CIR warnings, cautions, and applicability. Default is '1' - true, '0' - false. |
| locationToStoreData | Location where the Publish tool can create files to store information about the publication. The resource.xml file used for text translations, the PublicationsData.xml and the PackageData.xml used to maintain information about the publication are stored in this location Example values:. <value>[LCC_home]\publish-service\PublishUI</value> |
| enableHTTPS | Set this value to true to configure the Publish service for use with HTTPS. |