Fórumok

asset publisher “move to recycle bin” link/button

Patrik Holecka, módosítva 9 év-val korábban

asset publisher “move to recycle bin” link/button

Junior Member Bejegyzések: 46 Csatlakozás dátuma: 2013.10.21. Legújabb bejegyzések
Hi,
I want to add link for moving content into recycle bin next to "Edit" link in asset publisher's article detail.

Is there any possibility for constructing this link or I have to make my own portlet which will call this service:

JournalArticleLocalServiceUtil.moveArticleToTrash(userId, article)

Is there possibility to start workflow on this moving action?

Thanks,
Patrik
thumbnail
Nagendra Kumar Busam, módosítva 9 év-val korábban

R: asset publisher “move to recycle bin” link/button

Liferay Master Bejegyzések: 678 Csatlakozás dátuma: 2009.07.07. Legújabb bejegyzések
I am not totally sure about move to trash for journal article, but you can have a look at journal article portlet source code if this portlet supports by default( check in control panel for whether it supports or not). If it supports, you can easily change asset publisher to show it by creating a simple hook

Sent from my iPhone with Liferay.com Forums
Patrik Holecka, módosítva 9 év-val korábban

RE: R: asset publisher “move to recycle bin” link/button

Junior Member Bejegyzések: 46 Csatlakozás dátuma: 2013.10.21. Legújabb bejegyzések
Thank you for your response but can you be more accurate? Can you write me code snippet which will do what am I describing in my previous post?