掲示板

Mapping between Journal Article and portlet

7年前 に Anu malik によって更新されました。

Mapping between Journal Article and portlet

New Member 投稿: 18 参加年月日: 13/12/05 最新の投稿
Functionality required: admin can publish content onsite A1 or A2 or both .

Approach :
1.Added two portlets in Both sites(A1 and A2).
2.Both portlet accessing same web content (assume Id :20145) to publish content for both portlets.
(Portlets are stored in portletPrefernces,Portlet tables and web Content in JournalArticle table By Liferay).

3. At the time of publishing content admin will have option (Radio Button) to select A1,A2or both sites using structure from liferay.
(Liferay Hook will update tables with selected option A1, A2 or both) .

Issue : No Mapping found in tables JournalArticle and portletPrefernces which will define article and portlet relationship.

I don't want to publish content in both sites , Content should be published on basis of Admin selection of Site (A1,A2 or Both) . I was looking for mapping for both portlet and content and I can edit that linking on basis of admin selection . How can i achieve this functionality .