- Install alfresco in your system
- Install liferay in your system.
- Edit your liferay-home\tomcat-7.0.42\conf\server.xml file
<Server port="5005" shutdown="SHUTDOWN">
<Connector port="5050" protocol="HTTP/1.1">
connectionTimeout="20000"
redirectPort="5443" URIEncoding="UTF-8" />
<Connector port="5009" protocol="AJP/1.3" redirectPort="5443" URIEncoding="UTF-8" />
- Add in portal-ext.properties file below property.
session.store.password=true
company.security.auth.type=screenName
Note:- Above line is useful for similarity in credential for both alfresco and liferay.
- ReStart liferay server
- Start alfresco server
- Login with admin user in liferay.
Create new user with
Screen Name :- admin
Password :- admin
Email :- anything(my case :- admin@alfresco.com)
Role :- Power User
Administrator
- Logout from liferay.
- Now again login with newly created user.
- Screen name :- admin
- Password :- admin
- Add document and media portlet in your page.
- Now click on Add -> 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/cmisatom (4.x alfresco version)
Repository ID : (We dont require to provide it)
Viewable by : Site members
And Save it
And Save it
Choose Pub URLs for various vendor repositories as per alfreso version.
Repository | AtomPub URL |
---|---|
Alfresco 3.4 | http://<host>/alfresco/service/cmis |
Alfresco 4.x | http://<host>/alfresco/cmisatom |
IBM P8 | http://<host>/p8cmis/resources/Service |
Nuxeo | http://<host>/nuxeo/atom/cmis |
It will show repository with folder of alfresco.
Comments
Post a Comment