« Back

Integrating Alfresco Repository to Liferay Documents and Media Portlet

General Blogs May 22, 2013 By Navin Agarwal

We can integrate Alfresco Repository with Liferay Documents and Media Portlet by using CMIS feature. Liferay 6.1 provides with the very simple configuration management for cmis settings.

Let’s follow few steps for configuration of CMIS in Document and Media portlet.

 

NOTE: If you are not using any SSO for both servers, Make sure you create a same user admin/admin in Liferay. Doing this you will have common user in both environment.

1. Login with the admin user, go to Control Panel and check your site content setting, which site it is referring, make sure it refers to your desirer site. And Click Documents and Media Portlet.

2. Now In Documents and Media Portlet go to add button and click repository, New Repository page will open. Fill the bellow settings.

Name: Alfresco Repository

Description: Alfresco Repository

Repository Type: CMIS Repository (AtomPub)

Repository URL: http://localhost:8080/alfresco/service/cmis

And Save it 

After all done, you will be seeing the Alfresco Repository (Company Home) inside Documents and Media Portlet.

 

Now you can place the Documents and Media Portlet any page where you want the users should access.

Other related Blog : Integration with alfresco 4.x and Liferay 6.1

Threaded Replies Author Date
[...] We will be seeing here the proper way of... Anonymous May 22, 2013 10:17 AM
Originally I could not get this to work as... Christy Lewis October 17, 2013 1:01 PM
Also, I found that both URLs work for Alfresco... Christy Lewis October 17, 2013 1:04 PM
Just found the best practice for CMIS URLs for... Christy Lewis October 17, 2013 1:09 PM
I have connected exteranl repository as... RAVI CHANDRA VETCHA November 27, 2013 2:56 AM
alfresco is successfully configured with... adil badshah January 15, 2014 11:25 PM

[...] We will be seeing here the proper way of intregrating Alfresco 4.x with Liferay 6.1 version. So, here I have given details process, How you can achive the integration. Let’s do some few steps for... [...] Read More
Posted on 5/22/13 10:17 AM.
Originally I could not get this to work as listed, with a failure error "Please verify your repository configuration parameters." But another blog post fills in the missing steps: http://www.liferay.com/web/alexander.chow/blog/-/blogs/7670631

(It also includes some good CMIS information.)

You must first update your portal-ext.properties with the following properties:
session.store.password=true
company.security.auth.type=screenName

Resta­rt the server, then add the Alfresco repository as described above.
Posted on 10/17/13 1:01 PM.
Also, I found that both URLs work for Alfresco 4.1.5:

http://<host>/alfresco/service/cmis
http://<host>/alfresco/cmisatom
Posted on 10/17/13 1:04 PM.
Just found the best practice for CMIS URLs for the different versions of Alfresco:

For Alfresco 3.x : http://:/alfresco/service/cmis
For Alfresco 4.0.x and Alfresco 4.1.x : http://:/alfresco/cmisatom

Please ignore my above comment about 4.1.5.
Posted on 10/17/13 1:09 PM.
I have connected exteranl repository as Alfresco in Document and Media portlet.But I am Unable to use Document types and Metadatasets for this Repository. Please suggest how can I use document types and metadataset in this newly created repository.
Posted on 11/27/13 2:56 AM.
alfresco is successfully configured with liferay. but i am having issue with when i am opening any document or content .. lets say when i try open image i am getting following exception
java.lang.IllegalStateException: Page needs a session and none is available
Posted on 1/15/14 11:25 PM.