Showing posts with label expando table. Show all posts
Showing posts with label expando table. Show all posts

Tuesday, 2 July 2013

get custom field (expando table) value in velocity template

Hi all ,

First accessing service of liferay in velocity we have to enable serviceLocator.
You have to right below line to enable to servicLocator in portal-ext.properties file & restart server.

where to find portal-ext.properties click here.

journal.template.velocity.restricted.variables=


Now in template right below code to get particular user field value..