Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
R: asset publisher “move to recycle bin” link/button
تم تعديل Patrik Holecka منذ 11 سنوات من الدقائق.
Junior Member
المشاركات: 46
تاريخ الإنضمام: 21/10/13
المشاركات الحديثة
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
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
تم تعديل Nagendra Kumar Busam منذ 11 سنوات من الدقائق.
Liferay Master
المشاركات: 678
تاريخ الإنضمام: 7/7/09
المشاركات الحديثة
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
Sent from my iPhone with Liferay.com Forums
تم تعديل Patrik Holecka منذ 11 سنوات من الدقائق.
Junior Member
المشاركات: 46
تاريخ الإنضمام: 21/10/13
المشاركات الحديثة
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?
Community
Company
Feedback