Message Boards

Embedding OOTB Control panel portlet using liferay_portlet["runtime"]

Binu Purushothaman, modified 3 Years ago.

Embedding OOTB Control panel portlet using liferay_portlet["runtime"]

New Member Posts: 4 Join Date: 7/2/20 Recent Posts
I am trying to embed My Workflow Task Portlet in a page. I need to show it the end-user but they do not see the control menu.
This is the code i have in my template:
<@liferay_portlet["runtime"] portletName="com_liferay_portal_workflow_task_web_portlet_MyWorkflowTaskPortlet"/>
I have used a Web Content to display this Template in a Page and the the Workflow Tasks portlet is displayed. The issue I face is that when I click on the Tab "Assigned to My Roles" I do not navigate to it.Appreciate your help on this.
Jibin Johnson, modified 2 Years ago.

RE: Embedding OOTB Control panel portlet using liferay_portlet["runtime"]

New Member Posts: 4 Join Date: 3/14/18 Recent Posts

Hello,

looking for answer i found your post because i have the same thing you had to do and i got help from here

https://stackoverflow.com/questions/58188683/how-to-embed-navigation-portlet-in-a-jsp-in-liferay-7-1

Just posting a comment for future reference, Here's my JSP Code snippet for this task (as this still doesn't work with FTL)

<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
<liferay-portlet:runtime portletName="com_liferay_portal_workflow_task_web_portlet_MyWorkflowTaskPortlet">
</liferay-portlet:runtime>