| Bookmark Name | Actions |
|---|
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 UXP 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 UXP project as a content repository for Real Time Engagement.
The following steps show you how to install Alfresco.
- Click the Installer .exe file to start the Alfresco installer. The Language Selection dialog is displayed.
- Click on the OK button and the Welcome screen is displayed.
- Click on the Next button and the Installation Type screen is displayed.
- Mark the Advanced option.
- Click on the Next button and the Select Components screen is displayed.
- Click on the Next button and the Installation Folder screen is displayed.
- Click on the Next button and the Database Server Parameters screen is displayed.
- Click on the Next button and the Admin Password screen is displayed.
- Enter the Admin Password.
- Enter Repeat Password.
- Click on the Next button and the Service Startup Configuration screen is displayed.
- Click on the Next button and the Ready to Install screen is displayed.
- Click on the Next button and the Installing screen is displayed.
- Once completed, the Install Complete screen is displayed.
- Unmark the View Readme File option.
- Unmark the Launch Alfresco Community option.
- Unmark the Show next steps option.
- Click on the Finish button.
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.
The Services screen is displayed.
The AMP file is located in the installed UXP folder » IDE » cms-support » repository-browser-repo.amp.
- Click on the Start button and search for cmd.
- Select » Run as Administrator.
- Enter command: CD ../..\
- Press Enter.
- Enter command: CD alfresco-community
- Press Enter again .
- Close command screen.
Now let’s start the services.
- Click on the Start button and search for Services. The Services screen is displayed.
- Start the following services.
- alfrescoPostgress
- alfrescoTomcat
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).
- Navigate to the following location.
C:\alfresco-community\postgresql\bin
- Double click on the pgAdmin3.exe file. The pgAdmin III screen is displayed.
The Connect to Server dialog is displayed.
- Enter Password: alfresco.
- Click on the OK button. A Guru Hint dialog may be displayed.
- Click on the OK button.
Next step is to add a user.
The New Login Role dialog is displayed.
- Select the Properties tab.
- Select the Definition tab.
- Enter Password: cms
- Enter Password (again): cms
- Select Role privileges tab.
- Mark the Superuser option.
- Mark the Can create databases option.
- Mark Can create roles option.
- 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.
The New Database dialog is displayed.
- Enter the Name: cms.
- Click on the OK button to close the New Database dialog.
The pgAdmin III application is displayed.
- 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.
- Open a browser window.
- Enter the CDA URL: http://localhost:9089/CDA/cms_login.html.
- Enter username: admin
- Enter password: alfresco
The CDA Live CMS interface is displayed.
Now the CDA repository folder is created in Alfresco repository.
- Logout.
Now let’s assign contributor role to the admin user.
- Enter the URL: http://localhost:8080/share/
- Enter username: admin.
- Click on the Sign In button and the Alfresco Administrator dashboard is displayed.
- Click on the Repository tab.
- Move the cursor onto the CDA repository folder but do not click to open.
- Click on the …More button and select Manage Permissions.
- Enter admin in the Search window to bring up the correct user role (Administrator) then click on the Add button.
- 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.
- Click on the Save button to finish.
- Select the Administrator menu and click on the Logout button to close the Alfresco Administrator dashboard.
- Close browser.
Make sure you restart your application server before you start adding content in the CDA repository.
Add Bookmark
save your best linksView Bookmark
Visit your best linksIn this topic
Are you sure you want to log-off?