掲示板

Get the article by Tag Name

11年前 に Srividhya Mohanasundaram によって更新されました。

Get the article by Tag Name

New Member 投稿: 22 参加年月日: 12/06/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