Hello,
I have a custom component that extends the new folder component in webtop.
I want to limit the choice of object types to just my custom type so I modifed the <base_type>. In the documentation it says:
/* <base_type> Sets the base type for a new folder.
Subtypes will also be displayed.
Default: dm_folder
However I can still see all the dm_folder types in the types drop down.
Here is my custom component:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<config version='1.0'>
<scope>
<component id="custom_newfolder" extends="newfolder:webcomponent/config/library/create/newfolder_component.xml">
<class>com.co.create.CustomNewFolder</class>
</component>
<pages>
<start>/custom/library/create/newfolder/customNewFolder.jsp</start>
</pages>
<base_type>my_custom_type</base_type>
<default_type>my_custom_type</default_type>
</scope>
</config>
Any ideas? my custom type is a subtype of dm_folder.