留言板
Get the article by Tag Name
Srividhya Mohanasundaram,修改在11 年前。
Get the article by Tag Name
New Member 帖子: 22 加入日期: 12-6-29 最近的帖子
Could you please tell me how to get the article by Tag Name that is not more than one year old using velocity template?
Here is my script:
#set ($groupId = $getterUtil.getLong($groupId))
#set($assetTagLocalService = $serviceLocator.findService("com.liferay.portlet.asset.service.AssetTagLocalService"))
#set($tag = $assetTagLocalService.getTag($groupId,"alert"))
I have the tagId with me and would like to get all the articles with this tagId and that is published since last one year.
Thanks
Sri
Here is my script:
#set ($groupId = $getterUtil.getLong($groupId))
#set($assetTagLocalService = $serviceLocator.findService("com.liferay.portlet.asset.service.AssetTagLocalService"))
#set($tag = $assetTagLocalService.getTag($groupId,"alert"))
I have the tagId with me and would like to get all the articles with this tagId and that is published since last one year.
Thanks
Sri