Configure the Accruent Project Portal Publishing Service

Configuring the Accruent Project Portal Publishing Service specifies where the service will monitor for new files, how often it monitors, and where and how it will register the files in the Publisher database for publishing.

To configure the Accruent Project Portal File Publishing Service:

  1. On the computer where you copied the files as described in Install Components On an Accruent Project Portal Server, locate the file ProjectPortalService.exe.config and open it in any text editor.

  2. Locate and configure the settings described in the following table:

  3. Save your changes and close the file.

  4. (Optional) To configure the service to communicate using Secure Sockets Layer (SSL):

    1. Add an https binding to the Site Bindings settings of the web site in IIS Manager.

    2. Enable the Require SSL option in the SSL Settings of the web application in IIS Manager.

    3. Locate the file Web.config for the web site in Windows Explorer and open it in any text editor.

    4. Locate the setting binding name="Binding_ES" and set the security mode setting to Transport like in the following example:

      <binding name="Binding_ES" closeTimeout="00:10:00" openTimeout="00:01:00" receiveTimeout="00:50:00"
        sendTimeout="00:50:00" messageEncoding="Text" maxReceivedMessageSize="2147483647">
        <!--
          HTTPS: security mode = Transport
          HTTP: security mode = TransportCredentialOnly
        -->
        <security mode="Transport">
          <transport clientCredentialType="Windows" realm="" />
        </security>
      </binding>
    5. Save and close the file.

  5. Start the Accruent Project Portal Publishing Service as described in Run the Accruent Project Portal Publishing Service.

Accruent Project Portal Publishing Service settings
Setting Description

PublisherServicesAddress

Set the <value> element to the Publisher web services URL, for example, http://<ServerName>/BCEnterprise.

MonitorSecondsPeriod

Set the <value> element to the frequency in seconds at which you want the service to scan the folder for changed files. The default value is 60 seconds.

PreventDuplicate

Set the <value> element to True (default) to check for duplicate document registrations before adding a new one. If any duplicates found, the document will not be registered again.

CommitSize

Set the <value> element to the number of documents to send to the server as a single transaction. If the values equals 0, all documents in the batch are sent as one transaction. The default value is 10.

FailOnDuplicate

Set the <value> element to True to continue a batch operation when a duplicate task is found. The default value is False.

MonitorSources

The <value> element is a collection (ArrayOfString element) of <string> elements that each specify a job name and a starting ID to monitor. Specify the value using the syntax <JobName>;<StartID>, for example, 45E2E0;0. You can find the job name for each publishing job in its definition. You may specify multiple job name/starting ID pairs. One job name may be associated with multiple folders and one folder may be associated with multiple job name .

If the publishing job has multiple source or destination systems, the following syntax must be used to specify the ordinal numbers of the systems to use. The numbers are the one-based index of the systems as defined in the publishing job.

SourceNumber{JobName}TargetNumber;FolderPath

  • SourceNumber is the index of the publishing source. It is required if the job has multiple sources configured.

  • TargetNumber is the index of the publishing destination. If omitted, then the files will be registered for all destinations.

Examples:

  • JobName;C:\TEMP\Source : Compatible with prior Enterprise Server versions. The job must have a single source. If multiple targets are defined, then the files are published to all destinations

  • 2{JobName}1;C:\TEMP\Source: Publish from source #2 to destination #1

  • JobName}1;C:\TEMP\Source: Publish to destination #1. The job must have a single source

  • 2{JobName;C:\TEMP\Source: Publish from source #2 to all destinations

Following is a simple example of these settings in ProjectPortalService.exe.config:

  <userSettings>
    <BlueCieloECM.Publisher.KronodocService.Properties.Settings>
      <setting name="MonitorSources" serializeAs="Xml">
        <value>
          <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <string>FC1A22;0</string>
            <string>1E9967;0</string>
          </ArrayOfString>
        </value>
      </setting>
    </BlueCieloECM.Publisher.KronodocService.Properties.Settings>
  </userSettings>
  <applicationSettings>
    <BlueCieloECM.Publisher.KronodocService.Properties.Settings>
      <setting name="PublisherServicesAddress" serializeAs="String">
        <value>http://localhost/Publisher/</value>
      </setting>
      <setting name="MonitorSecondsPeriod" serializeAs="String">
        <value>60</value>
      </setting>
      <setting name="PreventDuplicate" serializeAs="String">
        <value>True</value>
      </setting>
    </BlueCieloECM.Publisher.KronodocService.Properties.Settings>
  </applicationSettings>

2024