留言板

Doubt about custom portlet and service builder

Daniel G,修改在6 年前。

Doubt about custom portlet and service builder

Regular Member 帖子: 141 加入日期: 17-3-14 最近的帖子
Hi

I have a serious doubt about service builders and custom portlets.

Is it possible to have some custom portlets, with their respective asset renderer and workflow handler for the same entity?


I tried to do it, but when I navigate into my workflow tasks, I have problems. I deploy all the portlets, but the asset used by the portal is only the last deployed for all the portlets. I start a workflow with each portlet, and when you navegate to my workflow tasks, appears that there are a lot of tasks from the same portlet, not one of each one.

My problem is this. I deploy all the portlets, but the asset used by the portal is only the last deployed for all the portlets. I start a workflow with each portlet, and when you navegate to my workflow tasks, appears that there are a lot of tasks from the same portlet, not one of each one.
When deploying last portlet, the entity takes that asset and used it for all the tasks. What I want is that every task display the asset of the portlet that start the workflow.

Does anyone know where can be the problem? Any help would be very appreciated. I don't know if it isn't possible to do this, or if I was making any mistake, but I can't find it.






Thanks for the help
thumbnail
David H Nebinger,修改在6 年前。

RE: Doubt about custom portlet and service builder (答复)

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Daniel G:
Is it possible to have some custom portlets, with their respective asset renderer and workflow handler for the same entity?


No. They are single entities so therefore they have single asset renderers and single workflows.

That said, you can have complex asset renderers that choose to do different things on the entity just like you can have a complex workflow that routes differently depending upon the entity content.

But there will only be one of each.







Come meet me at the 2017 LSNA!