cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting Resource Type

Former Member
0 Kudos

To all,

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.

Thanks

Richard

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The most easiest way to do it is develop your webdynpro application which only allows you to upload specific resource. The users should be allowed to use this application to upload the contents..but its a quick around instead of customizing the out of the box features of portal...

0 Kudos

Hello,

regarding this issue (restricting Resource Type) in upload KM iview, do you know if is possible to do it in the new releases of NW 7.0? (EHP1 or EHP2)?.

I mean, Is it possible to restrict resource type in Km upload iview WITH OUT development?

In your post I read you did a lof of development and customization.

But, with the new release 70 EHP2, can we do it only with customization?

Thanks and Regards,

Noemi

Former Member
0 Kudos

Hi Richard,

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

com.sapportals.wcm.rendering.uicommand.cm.UINewFileCommand

and adding

ResourceType=my_resourcetype

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.

Martin

0 Kudos

Hello,

regarding this issue (restricting Resource Type) in upload KM iview, do you know if is possible to do it in the new releases of NW 7.0? (EHP1 or EHP2)?.

I mean, Is it possible to restrict resource type in Km upload iview WITH OUT development?

In your post I read you did a lof of development and customization.

But, with the new release 70 EHP2, can we do it only with customization?

Thanks and Regards,

Noemi