Fórum
Can't get the layout displaying a journal article
Guillaume Gauthier, modificado 11 Anos atrás.
Can't get the layout displaying a journal article
New Member Postagens: 2 Data de Entrada: 18/03/13 Postagens Recentes
Hello everybody.
I've a problem getting the related portlet of an article (a journal article). I found what cause this, it's due to incorrect mapping in the journalcontentsearch. Some article haven't any entry in this table (articleid column) while they are published. It's a database migration problem which does not imply Liferay.
So, I need to understand how a article (journalarticle table) is linked to the layout which contains the portlet who publish the article and until now I didn't found how this is done.
Somebody help ?
Liferay 6.1.1-ce-ga2.
Best regards.
I've a problem getting the related portlet of an article (a journal article). I found what cause this, it's due to incorrect mapping in the journalcontentsearch. Some article haven't any entry in this table (articleid column) while they are published. It's a database migration problem which does not imply Liferay.
So, I need to understand how a article (journalarticle table) is linked to the layout which contains the portlet who publish the article and until now I didn't found how this is done.
Somebody help ?
Liferay 6.1.1-ce-ga2.
Best regards.
Guillaume Gauthier, modificado 11 Anos atrás.
RE: Can't get the layout displaying a journal article
New Member Postagens: 2 Data de Entrada: 18/03/13 Postagens Recentes
I'found a solution.
Article id of each journalcontent portlet (portlet 56) instance are stored in portlet preferences. Accessible with Liferay preferences API of course.
This may help somebody, a day.
Article id of each journalcontent portlet (portlet 56) instance are stored in portlet preferences. Accessible with Liferay preferences API of course.
This may help somebody, a day.