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
Please sign in to flag this as inappropriate.