Foren
Filtering Social Activity
Praful Shukla, geändert vor 7 Jahren.
Filtering Social Activity
Junior Member Beiträge: 46 Beitrittsdatum: 29.09.15 Neueste Beiträge
Hi,
I have created a hook to filter out Blog Entries in the Activities Portlet in Liferay 6.2.Following is the method which I've used in my hook in order to filter blog entries:
activities = SocialActivityLocalServiceUtil.getActivities(BlogsEntry.class.toString(),QueryUtil.ALL_POS,QueryUtil.ALL_POS);
But in my Activities Portlet it is showing "There are no recent activities".
(Note: I've added several blogs,whom entries were shown in Activities Portlet before deploying the hook.)
Any help over this..??
Thanks..!!
I have created a hook to filter out Blog Entries in the Activities Portlet in Liferay 6.2.Following is the method which I've used in my hook in order to filter blog entries:
activities = SocialActivityLocalServiceUtil.getActivities(BlogsEntry.class.toString(),QueryUtil.ALL_POS,QueryUtil.ALL_POS);
But in my Activities Portlet it is showing "There are no recent activities".
(Note: I've added several blogs,whom entries were shown in Activities Portlet before deploying the hook.)
Any help over this..??
Thanks..!!
Amos Fong, geändert vor 7 Jahren.
RE: Filtering Social Activity (Antwort)
Liferay Legend Beiträge: 2047 Beitrittsdatum: 07.10.08 Neueste Beiträge
Try BlogsEntry.class.getName(), toString() has some extra text besides just the classnme.
Praful Shukla, geändert vor 7 Jahren.
RE: Filtering Social Activity
Junior Member Beiträge: 46 Beitrittsdatum: 29.09.15 Neueste BeiträgeAmos Fong:
Try BlogsEntry.class.getName(), toString() has some extra text besides just the classnme.
Thanks buddy..!! Its working now..!!