Is there anyway to restrict resource types to particular folders? We are ending up with lots of different resource types available all over the KM which we would like to restrict.
I'm afraid there is no easy way to do this with the standard KM functionality. All resource types that you define will be available in the dropdown selection box of the upload dialog.
We had the same requirement and implemented a solution by using our own layout set and removing the standard upload command. Instead we offered a command group containing 'New' commands for all resource types that are allowed in a specific location and a configuration of the allowed resource types in specific folders.
For each resource type we configured a ui command for the standard upload with a parameter to preselect the resource type. On NW04 the ui command class for the standard upload is
in the parameters attribute will preselect the given resource type in the dropdown list box.
To prevent the user from changing the selection in the dropdown listbox we developed our own property renderer for the cm_resourcetype property. Our renderer just displays the label of the resource type instead of rendering the dropdown list box. Note that this will make the standard upload unusable, because the setting of the resource renderer for a property is a system-wide setting and not restricted to your layout set!
It requires a lot of configuration and some development, but it works fine for us.