During the process of running the Content Manager installer, you have the option of enabling integration with the Add-ons Service. If you chose not to do this during the Content Manager installation, but want to enable the integration now, you can run the EnableAddOnService.ps1 script to do this.
Before you begin
Before you enable Add-ons Service integration with Content Manager, ensure that the following tasks have been completed:
- The Content Manager is version 9.1 or later.
- The Add-ons Service and database are both installed.
- Additionally, if theAdd-ons Service is already secured with Access Management, you have updated the Add-ons client configuration for Content Manager by updating the appsettings.json file.
Procedure
- Access your Content Manager server.
- Go the bin\Configuration Scripts\ subfolder of %TRIDION_HOME%.
- Run the EnableAddOnService.ps1 Powershell script.
The following code sample illustrates enabling the
Add-ons Service with
Access Management providing security:
.\EnableAddOnService.ps1 -AddOnServiceUrl http://
localhost:83 -AccessManagementUrl http://localhost:85/access-management -ClientId a123-b234-c456-d567-
abcde12345 -ClientSecret anexampleclientsecretforaccessmanagement==
The following table explains each parameter that is used in this example:
| Parameter | Description |
|---|
AddOnServiceUrl | The URL of the installed Add-ons Service. |
AccessManagementUrl | The URL of the installed Access Management application. |
ClientId | The client ID defined in Access Management for the Add-ons Service API's service account. |
ClientSecret | The client secret defined in Access Management for the Add-ons Service API's service account. |
Results
You have now enabled the integration between the Content Manager server and the
Add-ons Service.