Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jon Cruz
Custom Fields: Preset Data
May 25, 2012 11:31 AM
Answer

Jon Cruz

Rank: New Member

Posts: 14

Join Date: May 17, 2012

Recent Posts

Using Liferay 6.0.6, I see that in

Control Panel >> Custom Fields >> (Select your Asset type) >> Add Custom Field

There is a way to create a custom field that is called "Presets - Selection of Text Values" or "Primitives - Group of Text Values".

If I set the custom field to be a select/dropdown, how do I configure the key/values of that "Preset" field?

Thanks,

Jon
Amit Doshi
RE: Custom Fields: Preset Data
May 25, 2012 11:51 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 549

Join Date: December 29, 2010

Recent Posts

If you need dropdown/select, you have to select "Primitives - Group of Text Values". you have to write values comma separated.

Suppose you want values A, B, C in dropdown then write A,B,C

Hope I am clear

Thanks & Regards,
Amit Doshi
Jon Cruz
RE: Custom Fields: Preset Data
May 25, 2012 2:29 PM
Answer

Jon Cruz

Rank: New Member

Posts: 14

Join Date: May 17, 2012

Recent Posts

Very clear. Thanks for the quick response, Amit.

Jon
Shankar Baba
RE: Custom Fields: Preset Data
April 15, 2013 3:54 AM
Answer

Shankar Baba

Rank: Regular Member

Posts: 144

Join Date: October 17, 2012

Recent Posts

But if i want to make the existing users into the selection list then how can i?