Embedding the Web content or journal article in a portlet
We can insert the webcontent in a custom portlet.
1. Create the New webcontent - click on the Add button select the basic web content. Enter some dummy data and click on the save to save the changes.
After creation of the webcontent it generates the articleId as shown below.
Use this tag to generate the webcontent
<liferay-ui:journal-article articleId="113701" groupId="<%=themeDisplay.getScopeGroupId() %>"></liferay-ui:journal-article>
Hello Iam creating a filter in the asset publisher the "<liferay-ui:journal-article" helped me a lot to display the articles filtered ,
ReplyDeletethank you a lot
@Haji Soukaina .. thanks for the comment ...Good to hear you that it is helpful.
Delete