Documentation Center

Publishing phases

The specific phases for the SDL LiveContent Architect publishing process includes exporting the root DITA map and referenced files, creation of a job ticket, and post-processing.

Process overview of the publishing phases

  1. File export: All files are exported to the file system of the server together with their associated metadata files.
  2. Creation of the job ticket: A job ticket is placed on the server into a folder that is monitored by the publishing process.
  3. Post-processing: Post-processing is started by raising an event.

File export and location of files on the file system

Before anything can be published, all files must be exported from the repository.

By default, all files are exported to the following location on the server: C:\InfoShare\Data\publishingservice\Data\DataExports
The generated file structure varies depending the options chosen in the Publish dialog:
  No Change TrackingChange Tracking
One language

Multiple languages

File structure generated by the publishing service

Exporting publications in multiple languages

Publications can be published into multiple languages at the same time. The publishing service exports the publication in all selected languages to the file system.

It is important to note that the publishing service does not merge different languages in order to generate a mixed-language publication (e.g. one PDF containing multiple translations). Merging of languages has to be implemented in a post-processing step based on the combine-language-method parameter in the job ticket.

Event-based publishing

When all files are exported to the file system, SDL LiveContent Architect raises the configured event PUBLISHINGSERVICEPROCESS. By default, this background task is configured to publish the exported content using the DITA-OT

System integrators can configure the event differently by changing the parameter command via the background task configuration which is accessible from the SDL LiveContent Architect web client using Settings > XML Background Task Settings
 <handler eventType="PUBLISHINGSERVICEPROCESS">
      <scheduler executeSynchronously="true" />
      <authorization type="authenticationContext" />
      <execution timeout="1.00:00:00" recoveryGracePeriod="00:30:00" isolationLevel="None" useSingleThreadApartment="true" />
      <activator>
        <comIEventHandler projectName="IshPluginsIso" className="cIshShell">
          <configuration>
            <parameters>
              <parameter name="location" type="value">%ISHPROJECTDATAPATH%\PublishingService\Data\WatchFolder</parameter>
              <parameter name="command" type="value">cscript.exe //job:PublishByEvent "%ISHPROJECTDATAPATH%\PublishingService\Tools\Publish.wsf"</parameter>
              <parameter name="passauthenticationcontext" type="value">yes</parameter>
            </parameters>
          </configuration>
        </comIEventHandler>
      </activator>
      <errorHandler maximumRetries="0" />
    </handler>