I know how to get groupid in liferay velocity theme using:
#set ($scopeGroupId = $getterUtil.getLong($group_id))
However I also need to get a folder's ID using its name.
I have been researching for a while and don't seem to find a way to do that.
Q: Is this enabled and feasible in liferay 6.2?
Make sure that you are allowed to use
serviceLocatoror add in your portal-ext.properties this entry:After that you can use this code in your template:
Or you can use another method from
DLFolderLocalService.