Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nivas Kulukuri
New Field in Document Type in Document and Web Content
November 1, 2012 3:55 AM
Answer

Nivas Kulukuri

Rank: New Member

Posts: 13

Join Date: October 14, 2012

Recent Posts

Hi,
I wanted to write a hook which will place a new field in new document type along with present ones(textbox, selectbox etc.).
Can anyone know which js and jsp files should i edit.? Please help
Jitendra Rajput
RE: New Field in Document Type in Document and Web Content
November 1, 2012 4:00 AM
Answer

Jitendra Rajput

Rank: Liferay Master

Posts: 709

Join Date: January 7, 2011

Recent Posts

Check if custom fields can satisfy your requirement. By using it you dont need to write any hook for new fields.
Nivas Kulukuri
RE: New Field in Document Type in Document and Web Content
November 1, 2012 4:02 AM
Answer

Nivas Kulukuri

Rank: New Member

Posts: 13

Join Date: October 14, 2012

Recent Posts

It doesn't satisy my requirement. I need to get values from database... so i need to create a new field in New Document Type
Nivas Kulukuri
RE: New Field in Document Type in Document and Web Content
November 1, 2012 6:21 AM
Answer

Nivas Kulukuri

Rank: New Member

Posts: 13

Join Date: October 14, 2012

Recent Posts

Jitendra Rajput:
Check if custom fields can satisfy your requirement. By using it you dont need to write any hook for new fields.



How to add custom field in new document type??
Jitendra Rajput
RE: New Field in Document Type in Document and Web Content
November 1, 2012 11:43 PM
Answer

Jitendra Rajput

Rank: Liferay Master

Posts: 709

Join Date: January 7, 2011

Recent Posts

Go to Control Panel -- > Portal -- > Custom Field

At the right side you will find resource with the name Documents and Media Document name click on adjacent edit link .