Documentation Center

Adding the Context Expression Extension to your Content Deployer

Ensure that context expression are published by adding resources and configuring settings for your Content Deployer(s).

Procedure

  1. Access the server on which the Content Deployer runs that deploys content to the Web site on which you want to make your context expression available. If you have multiple Content Deployers and/or servers that fit this description, change each of them in turn.
  2. On this server, navigate to the library location of your Content Deployer.
  3. On your SDL Web installation media, navigate to Content Delivery\roles\expression\extension-deployer\lib\.
  4. Copy all files from the installation media folder to the server location.
  5. Navigate to the configuration location of your Content Deployer.
  6. Open deployer-conf.xml for editing.
  7. In the <Pipelines> section, add the following before the Pipeline section that has Tridion-Cleanup as its ID:
    <Pipeline Id="Tridion-PostTransaction-Deploy" Action="Deploy" Verb="Commit">
      <Steps>
        <Step Id="ContextExpressionDeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
          <Module Class="com.sdl.context.ContextExpressionDeploy" Type="ContextExpressionDeploy" />
        </Step>
      </Steps>
    </Pipeline>
    <Pipeline Id="Tridion-PostTransaction-Undeploy" Action="Undeploy" Verb="Commit">
      <Steps>
        <Step Id="ContextExpressionUndeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory">
          <Module Class="com.sdl.context.ContextExpressionUndeploy" Type="ContextExpressionUndeploy" />
        </Step>
      </Steps>
    </Pipeline>
  8. Save and close deployer-conf.xml.
  9. Open cd_storage_conf.xml for editing.
  10. In the <Storages> section, find the <StorageBindings> section and add the following inside it:
    <Bundle src="storage_extension_dao_bundle.xml" />
  11. Save and close cd_storage_conf.xml.
  12. Restart your Content Deployer.
  13. Repeat these steps for other Content Deployers that publish to the Web site on which you want to make your context expression available.