Guides
R24 AMR | Min(s) read

Install and Configure Alfresco

Real Time Engagement uses content from a CMS repository when defining campaigns, templates and reusable resources. Real Time Engagement is delivered with an out of the box CMS Project, named CDA.

In order to be able to define campaign messages, templates and reusable resources with content coming from the CMS repository, you need to install and configure Alfresco.

The Live CMS features of User Experience Platform enables users to design, create and manage content in real-time. Content items such as text, rich-text and images can be created and stored in real-time and saved into an enterprise content management system (CMS) system, for example Alfresco.

The Alfresco platform can run on a number of different application servers and databases. In the next section we will use the freely available community version of Alfresco running on Tomcat server and PostgressSQL.

Alfresco Community Installer

The Alfresco Community installer is a wizard-oriented application that allows you to install Alfresco Community edition, additional software, and modules so you will be able to use the out of the box CDA User Experience Platform project as a content repository for Real Time Engagement.

Add an Alfresco Module Package (AMP)

The following steps show you how to add an Alfresco Module Package (AMP). The AMP enables custom file type creation and specifically the use of article types and placeholders within the Alfresco repository.

An Alfresco Module Package (AMP) is located in the installed UXP folder in this location: IDE > cms-support folder.

Before you start to install the AMP file you must make sure that Alfresco database is shutdown. The following steps show you how to check that the status of Alfresco Tomcat application server.

  1. Click on the Start button and search for Services.

The Services screen is displayed.

  1. Confirm that the following services are not running.
    • alfrescoPostgress.
    • alfrescoTomcat.

The AMP file is located in the installed UXP folder > IDE > cms-support > repository-browser-repo.amp.

  1. Copy the AMP file to your alfresco-community/amps folder.

Add a PostgreSQL Database and User for Alfresco

The following steps show you how to use the PostgreSQL pgAdmin III application to add a database and user that will be used by the CDA UXP project to store the content structure of the project (for example article structure, placehoders etc.). The out of the box alfresco database will be used to store the actual content (images, text, rich text).

  1. Navigate to the following location.

    C:\alfresco-community\postgresql\bin

  1. Double click on the pgAdmin3.exe file. The pgAdmin III screen is displayed.
  1. Right-click PostgreSQL 9.4 (localhost:5432) > Connect.

The Connect to Server dialog is displayed.

  1. Enter Password: alfresco.
  1. Mark the Store password option.

  1. Click on the OK button. A Guru Hint dialog may be displayed.
  1. Click on the OK button.

Next step is to add a user.

  1. Right-click Login Roles > New Login Role.

The New Login Role dialog is displayed.

  1. Select the Properties tab.
  1. Enter Role name: cms.

  1. Select the Definition tab.
  2. Enter Password: cms.
  1. Enter Password (again): cms.
  1. Select Role privileges tab.
  2. Mark the Superuser option.
  3. Mark the Can create databases option.
  4. Mark Can create roles option.

  1. Click on the OK button to close the New Login Role dialog.

The pgAdmin III application is displayed. Next, we can add a new database and assign it to the user.

  1. Right-click on the Databases and select New Database. The New Database dialog is displayed.

  1. Enter the Name: cms.
  1. Select Owner: cms.

  1. Click on the OK button to close the New Database dialog. The pgAdmin III application is displayed.
  1. Confirm that the new Database exists: cms.

  1. Select File menu > Exit.

Setup Permissions for Live CMS

Make sure the application server is started.

When you start to work with CDA project you will be saving content into a folder in the Alfresco repository root folder. The folder name was defined in the connection properties when the content data source was created in the Integration editor for the CDA project.

In order to use the CDA project to define new articles you will need to modify the permissions for the project folder directly on the Alfresco server to correctly setup the CMS user roles to create (contributor or collaborator) and publish (coordinator) content. In the example below there is only 1 role (admin) that has the coordinator role assigned.

The following steps show how to set coordinator permissions for the admin user on the folder /cmisprojects. You will then be able to login to CMS with this user and define and publish content that you will then be able to use in campaigns.

  1. Open a browser window.
  1. Enter the CDA URL: http://localhost:9089/CDA/cms_login.html.
  1. Enter username: admin
  1. Enter password: alfresco
  2. The CDA Live CMS interface is displayed.
  3. Now the CDA repository folder is created in Alfresco repository.
  4. Logout.

Now let’s assign contributor role to the admin user.

  1. Enter the URL: http://localhost:8080/share/.
  1. Enter username: admin.
  1. Enter password: alfresco.

  1. Click on the Sign In button and the Alfresco Administrator dashboard is displayed.
  1. Click on the Repository tab.
  2. Move the cursor onto the CDA repository folder but do not click to open.
  3. Click on the …More button and select Manage Permissions.

  1. Click on the Add User/Group button.

  1. Enter admin in the Search window to bring up the correct user role (Administrator) then click on the Add button.

  1. Click on the Consumer role and select Coordinator from the list. This will ensure that the admin user in CDA project has all the required actions to create and publish content.

  1. Click on the Save button to finish.
  2. Select the Administrator menu and click on the Logout button to close the Alfresco Administrator dashboard.

  1. Close browser.
Make sure you restart your application server before you start adding content in the CDA repository.

Copyright © 2020- Temenos Headquarters SA

Published on :
Thursday, May 30, 2024 10:44:04 AM IST