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
- Set the PowerShell execution policy to Unrestricted.
Note: The provided scripts are not signed because they are generated during the Content Manager installation. Unrestricted is a necessary setting for unsigned scripts in PowerShell.
- 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.
- Execute the Create-DITADLVR.ps1 script.
Note: For installations linked with Windows Authentication, the parameters trisoftUserName and trisoftPassword should be left empty. For installations linked with ISHSTS, provide a user name for the trisoftUserName parameter and a user password for the trisoftPassword parameter. In both cases, the user must have administrator rights.
You have two options to run the script:
- Run and rely on resolved InstallTool parameters:
- 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.