Showing posts with label Custom Field. Show all posts
Showing posts with label Custom Field. Show all posts

Monday, June 13, 2022

Create Custom Fields Programmatically in Liferay DXP(7.3)

   

Today we will see how we can create custom fields in Liferay DXP . In this example we will create 3 custom fields one contain String value , second contain Boolean value and third contain drop down . We also set the permissions of Custom Fields in the same example. I am creating custom fields for sites . But you can use the same process for users and others entities of Liferay. Here i am using Liferay 7.3.

So lets start this step by step :-


Continue Reading...

Saturday, November 28, 2015

Custom Field/Attribute or Expando in Liferay Programmatically


We already know how to create custom field using control panel . 
Lets consider a scenario we create 40 custom fields in our local server using control panel . When i deployed my application to production server we need to create all custom fields again in production server . What if as soon as our application start and all custom fields create automatically????

Continue Reading...

Monday, May 25, 2015

Use of Custom Field/Attribute or Expando in Jsp (Hook)


Today we will discuss how to use Custom Attribute in Jsp.Before reading this, you must read my previous blog on Custom Field in Liferay and Jsp Hook in Liferay.

Here we create a Jsp hook for create account page , so when user fill the form for create account he also provide maritial status and on click of submit button maritial status is also save with the User .

So Lets start this step by step:- 
Continue Reading...

Wednesday, May 13, 2015

Custom Field/Attribute or Expando in Liferay by Control Panel


Today we will discuss about Custom Field in Liferay.Lets consider a scenario in which you want that User entity must have one extra field like married. How will you add a new attribute to existing Liferay entity User.Custom fields in liferay is the solution for this problem.

Custom fields are designed to allow end users to extends the default data entities like User, Group etc.You can create custom field programmatically  as well as Using Control Panel. Today we create Custom Field  in User entity by Control Panel. 
Continue Reading...

Total Pageviews

Number Of Unique Visitor

Free counters!