Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jim Miller
How to remove default document types in Documents and Library portlet?
October 4, 2012 8:37 AM
Answer

Jim Miller

Rank: New Member

Posts: 10

Join Date: September 20, 2012

Recent Posts

The Documents and Media portlet comes with several built-in document types (Marketing Banner, Sales Presentation, Online Training, etc) that I'd like to remove from display in the left pane of the D&M portlet. Is there a properties file I can change to get rid of those? How is removal done?

I should note that I've tried deleting those from the UI, but they always come back the next time I start the server.
Artur Korol
RE: How to remove default document types in Documents and Library portlet?
April 14, 2013 2:54 PM
Answer

Artur Korol

Rank: Junior Member

Posts: 91

Join Date: March 2, 2009

Recent Posts

I would like to know the answer as well ...
Victor Zorin
RE: How to remove default document types in Documents and Library portlet?
April 14, 2013 4:30 PM
Answer

Victor Zorin

Rank: Liferay Legend

Posts: 1178

Join Date: April 14, 2008

Recent Posts

It looks like those default document types are hard-wired, they get restored in the database with every portal restart.
DINESH M KANDHASAMY
RE: How to remove default document types in Documents and Library portlet?
September 14, 2013 12:38 AM
Answer

DINESH M KANDHASAMY

Rank: Junior Member

Posts: 89

Join Date: May 18, 2013

Recent Posts

Hi Jim Miller & Artur Korol,

It's easy.

Just login as Administrator.

Goto -> Control Panel -> Documents and Media -> Manage -> Document Types -> Action

You can Edit, give Permission and also remove / Delete.

Cheers,
Dinesh
Artur Korol
RE: How to remove default document types in Documents and Library portlet?
September 14, 2013 2:00 AM
Answer

Artur Korol

Rank: Junior Member

Posts: 91

Join Date: March 2, 2009

Recent Posts

DINESH M KANDHASAMY:
Hi Jim Miller & Artur Korol,

It's easy.



Problem is that if I create new organization/site, the default document types are created. I want to configure Liferay to NOT create default document types for new organizations.

As Jim said - default document types are recreated after Liferay restart

Artur
DINESH M KANDHASAMY
RE: How to remove default document types in Documents and Library portlet?
September 14, 2013 2:48 AM
Answer

DINESH M KANDHASAMY

Rank: Junior Member

Posts: 89

Join Date: May 18, 2013

Recent Posts

Hi Artur Korol,

I think you must delete the Document Types present in the Portal Control Panel.

After deleting the Document Types from the parent community or organization it won't be created for child community or organization.

Cheers,
Dinesh