How do I display Liferay content from the built in Documents and Media repository

不羁岁月 提交于 2019-12-24 10:24:05

问题


I've integrated Liferay and Alfresco, using Alfresco as the primary CMS and Liferay as the presentation tier.

In Liferay's control panel, I've added the Alfresco repository using the utility in Documents and Media and the folders and files stored in that repository all display just fine. The issue I am having is this - I do not see a clear process in Liferay's documentation on how to point a specific document stored in that repository to be displayed in a portlet.

I should add that I am using Liferay 6.1 CE on a 64-bit Windows environment. Any pointers would be wonderful.

Thanks!


回答1:


I have not yet worked with Alfresco integration (this is on my list for quite some time now) but you'll need a portlet that interfaces with Alfresco directly, similar to Liferay's "Web Content Display" portlet. (I believe that alfresco provides such a portlet)

Mounting Alfresco's repository to the document & media library will make it available for download - the "document and media display" portlet typically shows certain folders in the document library, but does not embed the html of those documents on a page.



来源:https://stackoverflow.com/questions/9101704/how-do-i-display-liferay-content-from-the-built-in-documents-and-media-repositor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!