Specifying Pickers in the Classification Editor

Top  Previous  Next

The following information applies only to the legacy editing mode in CMS 7. The new editor always displays the three standard pickers.

Site administrators have the ability to configure the pickers that are presented in the classification editor. By default there are three pickers presented:

1.SelectTopicFromInstanceList - the "Topics List" tab.
2.HierarchyPicker - the "Hierarchy Picker" tab.
3.IDPicker - the "ID Picker" tab.

Each picker name is a Javascript class. If you write your own pickers, you can add them to this list.

This list may be globally configured by setting the NP_TM_DefaultPickerList configuration variable to a comma delimited list of pickers. The default value is:

SelectTopicFromInstanceList,HierarchyPicker,IDPicker

So to remove the ID Picker you would add a line to the web.config application settings section as follows:

<add key="NP_TM_DefaultPickerList" value="SelectTopicFromInstanceList,HierarchyPicker"/>

Site administrators may also define the pickers available for specified roles using an NPCL Extension on the source role.

The NPCL extension value should be of type http://psi.networkedplanet.com/extensions/episervermodule/allowedPickers and takes the same format as the application configuration, i.e. a comma delimited list.

Therefore if you wanted to restrict the pickers to just the ID Picker when classifying a Document against a Theme, where the association is constructed as follows:

Topic Map Construct

Subject Identifier

Role Playing Type

Association Type

http://psi.networkedplanet.com/assocs/DocumentHasTheme

 

Source Role Type

http://psi.networkedplanet.com/assocs/DocumentHasThemeSource

Document

Target Role Type

http://psi.networkedplanet.com/assocs/DocumentHasThemeTarget

Theme

Then you would apply the NPCL extension to the http://psi.networkedplanet.com/assocs/DocumentHasThemeSource role as this is the identifier of the role played by the Document in the association.