Showing posts with label Liferay. Show all posts
Showing posts with label Liferay. Show all posts

Wednesday, 17 June 2015

Steps to add Custom Attributes in liferay portal


Below are the steps to be followed for adding the custom attributes to the existing resources provided by liferay portal.

1. Login to Liferay Portal with Admin and go to Control Panel

2. Select "Custom Fields"  Under "Configuration" section.

3. It will list down the list of existing resources. select the edit button against the resource
    to which you want to add the custom attribute.

4. Upon select Edit, It will show the resource with the button "Add Custom Field". Click on It.

5. you will be asked to enter Key and Type. Please give the name and datatype of the
    custom attribute to store in. The key is the name with which the custom attribute
    can be accessed further. Click on Save.

6. Upon Save, It will list down the custom attributes added to a particular selected resource.
    It will also display the Key for the attribute.