Note: This section does not apply to JET-based applications (for example, the Catalog, Promotions, Site Administration, and Targeting and Segmentation areas of the UI). See the introduction to this chapter for more information.
In general, each view provides resources that manage the types of items you can create in it. When you click the Create New button in the asset editing UI, it displays a list of item types from which you select the type you want to create. Usually you specify the types in this list by explicitly identifying them in a createableTypesList
property of a Browse Tree View Configuration (tree views) or Filterable Browse List View Configuration (list views) component. If you leave these properties empty, all types visible in the view are included in the Create New list.
You can prevent a type from appearing in the Create New list of all views, regardless of settings on an individual view, by updating the nonCreatableTypes
property of the Configuration Info component.
This setting prevents you from creating items using Navigation pane controls, but it does not affect Details pane controls with the same purpose. For example, you can remove roles from the Create New drop-down list in the Organizations and Roles view, but you can still create roles using the Add New button beside the Roles property that displays in the Orgs & Roles tab when a user is selected.
Follow these steps to prevent an item type from appearing in the Create New list:
Create a file called
ConfigurationInfo.properties
and save it to/atg/web/assetmanager
within your local configuration directory, such as:<ATG11dir>/home/localconfig/atg/web/assetmanager
.Set the
nonCreateableTypes
property to the types of items you want excluded from the Create New button:
$class=atg.web.assetmanager.AssetManagerConfiguration nonCreateableTypes=\ /atg/userprofiling/PersonalizationRepository:folder