Integrating Document and Media Portlet with Cloud Stores
In liferay by default they integrated some important cloud stores. To utilize those stores we need to enable it. By default that stores are disabled by commenting in "portal.properties" file.
For example here we used "CMIS Store"
"portal.properties"
#dl.store.impl=com.liferay.portlet.documentlibrary.store.CMISStore //this line commented in portal.properties file
# CMISStore
#
dl.store.cmis.credentials.username=none
dl.store.cmis.credentials.password=none
dl.store.cmis.repository.url=http://localhost:8080/alfresco/service/api/cmis
dl.store.cmis.system.root.dir=Liferay Home
using hooks we can enable the coloud store(CMIS Store) by modify "portal.properties" using hooks
dl.store.impl=com.liferay.portlet.documentlibrary.store.CMISStore
dl.store.cmis.credentials.username=xxxxxx(your username)
dl.store.cmis.credentials.password=xxxx(your Password)
dl.store.cmis.repository.url=http://localhost:8080/alfresco/service/api/cmis
dl.store.cmis.system.root.dir=Liferay Home
No comments:
Post a Comment