Documentation Center

Adding a Dynamic Delivery output format using a PowerShell script

To publish from Content Manager to Dynamic Delivery, you must configure an output format. You can create an Output Format named Dynamic Delivery using a PowerShell script. After it is created, the output format is available in Publication Manager to add as publication output.

Before you begin

  • You must have administrator access to Organize Space.
  • You must have the ISHRemote PowerShell module installed or present in the \CreateOutputFormat\Modules\ folder.

Procedure

  1. Set the PowerShell execution policy to Unrestricted.
    • To check if PowerShell's execution policy is already set to Unrestricted, execute the command:
      Get-ExecutionPolicy
    • If the output of this command shows something other than Unrestricted, execute the command:
      Set-ExecutionPolicy Unrestricted
  2. Prepare the Create-DITADLVR.ps1 script.
    • Locate the Create-DITADLVR.ps1 file in the folder \Infoshare\Database\InfoshareCM\Common\DatabaseIndependent\Examples\CreateOutputFormat\ and open it for editing.
    • Find "[!REPLACE with Dynamic Delivery Server URI]" string value and replace it with the Dynamic Delivery Server URI.
    • Find "[!REPLACE with Dynamic Delivery Client ID]" string value and replace it with the Dynamic Delivery Client ID.
    • Find "[!REPLACE with Dynamic Delivery Client Secret]" string value and replace it with the Dynamic Delivery Client Secret.
    • Find "[!REPLACE with Dynamic Delivery Host Base URI]" string value and replace it with the Dynamic Delivery Host Base URI.
  3. Execute the Create-DITADLVR.ps1 script.
    You have two options to run the script:
    • Run and rely on resolved InstallTool parameters:
      • In Powershell command line navigate to the script directory:
        cd  \Infoshare\Database\InfoshareCM\Common\DatabaseIndependent\Examples\CreateOutputFormat\
      • Execute the command:
        .\Create-DITADLVR.ps1
    • Run by providing input parameters explicitly:
      • In Powershell command line navigate to the script directory:
        cd  \Infoshare\Database\InfoshareCM\Common\DatabaseIndependent\Examples\CreateOutputFormat\
      • Execute the command:
        .\Create-DITADLVR.ps1 -webServicesBaseUrl "https://example.com/InfoShareWS/" -trisoftUserName "username" -trisoftPassword "userpassword"  
    An output format named Dynamic Delivery is now available.