Archive for May, 2009

Hide Standard Profile Menus

Content Profiles allow administrators to craft custom check-in and search screens. They can perform all sorts of default metadata tips and tricks and generally craft targeted, context centric pages that help users properly apply metadata to their content.

On occasion I have been asked about how to hide the Standard Check-In and Search menus once Content Profiles have been enabled. This post explains how to construct a component to accomplish this task. You can also download this Sample Component to Hide Standard Profile Menus.

When you install this component it will prompt you for four (4) preference variables. These variables (2 for each menu) indicate if the functionality is currently enabled and what iDocScript should be executed to determine if the menu item should show or not. The default settings hide the menu from anyone without the admin role.

Force Security Group Choice (Stellent)

Similar to the article on forcing users to select a Content Type (dDocType) there is a setting that forces the selection of a security group.

ForceSecurityGroupChoice=true

This setting adds a new blank list item for Security Group and sets this new blank list item as the default selection thereby requiring the user to select a Security Group.

Place this setting in <install_dir>/config/config.cfg

Or, put this setting in place in the General Configuration section of the Admin Server.

Force Doc Type Selection (Stellent)

By default, when the check-in page loads up the Content Type select list automatically sets itself to the first item in the list. Sometimes this can cause problems if users do not pay attention, get lazy, etc. On occasion it will be desirable to force the selection of a Content Type (dDocType). Through the admin server go to general configuration and add this setting:

ForceDocTypeChoice=1

Restart content server and you should be all set. Now when you visit a check-in page they Content Type will not be preset and users will be forced to make a selection from the list.