cancel
Showing results for 
Search instead for 
Did you mean: 

Limit Custom Types on a folder

palba
Champ in-the-making
Champ in-the-making
Hi.

First of all, english is not my first language, so sorry for my mistakes Smiley Wink

I've developed several custom types. When I click on "create content", all of them are showed in the list of type of content.

Is there any form of limit what types are shown in that list in a folder?

I.E., if I have a custom type Book, and a folder Library, How can I make that the only possible type in the folder Library is Book?

Thnx in advance Smiley Happy
2 REPLIES 2

linhnh
Champ in-the-making
Champ in-the-making
Hi.

First of all, english is not my first language, so sorry for my mistakes Smiley Wink

I've developed several custom types. When I click on "create content", all of them are showed in the list of type of content.

Is there any form of limit what types are shown in that list in a folder?

I.E., if I have a custom type Book, and a folder Library, How can I make that the only possible type in the folder Library is Book?

Thnx in advance Smiley Happy
I try to do it. by modify BaseContentWizard.java 
at function List ObjectTypes
it can run . but any type not in this list type can't display Smiley Happy

palba
Champ in-the-making
Champ in-the-making
I manage to do it by modify the class CreateContentWizard…