Install Components On a SharePoint Server

A SharePoint server can act as a publishing destination, source, or both.

If the SharePoint server will be a destination of published documents, the publishing job and the Meridian Enterprise vault require special configuration. This causes documents that have been published to SharePoint and then are renamed in the vault and republished to become versions of the original document with the new name in SharePoint and not create duplicate documents.

ClosedConfigure a SharePoint Destination

To configure a SharePoint destination:

  1. In Administration Console, enable the Enable Meridian script events option of the publishing job that will publish to SharePoint as described in Configuring the Publishing Options.

  2. In Meridian Enterprise Configurator, create a custom property in the Document property set named SPdestDocId to store the SharePoint document ID.

  3. In Meridian Enterprise Configurator, add the following event handlers to the VBScript block of the vault:

    Function PublisherSourceEvent_BeforePublish(destType, destAddress, destDocId, destDocPath, destDocName, publishOptions)
    PublisherSourceEvent_BeforePublish = Array(Document.SPdestDocId)
    End Function 
    Sub PublisherSourceEvent_AfterPublish(destType, destAddress, destDocId, publishOptions)
    Document.SPdestDocId = destDocId
    End Sub

If the SharePoint server will be a source of published documents, some components of Publisher must be installed there. The components are provided as a solution package that is installed using a Windows PowerShell script. Therefore, PowerShell must be installed if it is not included with the installed version of Windows.

After installation, the solution package will be visible on all sites of the same SharePoint farm but will only work on the site that is specified in the deployment script or typed manually during deployment.

Note:

Install the Microsoft SharePoint solution component as described in Install Meridian Enterprise Server.

ClosedInstall Components on a Sharepoint Source Server

To install components on a SharePoint source server:

  1. Copy the following files from the Meridian Enterprise Server computer to the same location on SharePoint server:

    C:\Program Files\BC-Meridian\Enterprise Server\BlueCieloECM.Publisher.SharePointUI.wsp
    C:\Program Files\BC-Meridian\Enterprise Server\BlueCieloECM.Publisher.SharePointUI_Deploy.ps1
    C:\Program Files\BC-Meridian\Enterprise Server\BlueCieloECM.Publisher.SharePointUI_Remove.ps1
  2. By default, when the solution package is deployed, you will be prompted for the name of the SharePoint site collection where you want to deploy it.

    To modify the script to specify the site collection URL instead:

    1. Open BlueCieloECM.Publisher.SharePointUI_Deploy.ps1 in any text editor.

    2. Find the definition of the $webapplication variable and edit its value to the URL of the SharePoint site collection where you want to deploy the solution package.

    3. Save your changes and close the script.

      The script BlueCieloECM.Publisher.SharePointUI_Remove.ps1 can be used to remove the solution package.

    4. Repeat steps a to c with the script to specify the SharePoint site collection.

  3. Open the SharePoint Management Shell and change the working path to the location of the script file.

  4. Deploy the solution package by running the deployment script using the following command:

    .\BlueCieloECM.Publisher.SharePointUI_Deploy.ps1
  5. Open the SharePoint site where you deployed the solution package.

    The Home page appears.

  6. On the Site Actions menu, select Site Settings.

    The Site Settings page appears.

  7. In the Site Collection Administration column, click Site collection features .

    The Site Collection Features page appears.

  8. Confirm that BlueCieloECM.Publisher.SharePointUI is listed.

  9. If the Status column does not contain Active, click Activate.

  10. Continue by configuring the system link as described in Configure a SharePoint Server.

ClosedRemove Components from a Sharepoint Source Server

To remove the components from a SharePoint source server:

  1. Open the SharePoint Management Shell and change the working path to the location of the script BlueCieloECM.Publisher.SharePointUI_Deploy.ps1.

  2. Remove the solution package by running the removal script using the following command:

    .\BlueCieloECM.Publisher.SharePointUI_Remove.ps1

ClosedModified and Modified By field behavior

There are two ways that the Modified and Modified By fields in Sharepoint can be populated.

  • By default, these fields are populated with the date and time of publishing and the Publisher account.

  • When the UpdateSharePointModifiedFields setting is set to true, these fields are populated with the values from Meridian.

To configure this setting:

  1. Navigate to C:\ProgramData\BlueCieloECM\EnterpriseServices\PublishingCapability.dat

    Learn more about the settings in the PublishingCapability.dat file.

  2. Add the following parameter to the file:

    "UpdateSharePointModifiedFields":true
  3. Save the file.

2024