In general, each view provides resources that manage the types of items you can create in it using the Create New button. When clicked, the Create New button displays a list of item types from which you select the type of item you want to create. Ordinarily you specify the types in this list by explicitly specifying them in a createableTypesList
property of a Browse Tree View Configuration (tree views) or Filterable Browse List View Configuration (list views) component, or if you leave these components empty, all types visible in the view are included in the Create New button drop-down list.
You can prevent a type from appearing in the Create New drop-down list of all views, regardless of settings on an individual view, by updating the nonCreatableTypes
property of the Configuration Info component. That way, you may see items in a view that are a type you can’t create.
Note that this setting prevents you from creating items using Navigation pane controls, but doesn’t 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.
Follows these steps to make the products unable to the Create New button drop-down list:
Create a file called
ConfigurationInfo.properties
and save it to/atg/web/assetmanager
within your local configuration directory, such as:<ATG2007.3dir>/home/localconfig/atg/web/assetmanager
.In the file, specify the class name and the types of items you want excluded from the Create New button:
$class=atg.web.assetmanager.AssetManagerConfiguration nonCreateableTypes=\ /atg/commerce/catalog/SecureProductCatalog:product