BPC-Components

Home > Products > BPC PowerForms - Silverlight > Knowledge Base > Controls > The Managed Metadata controls

The Managed Metadata controls

In order to provide values to Sharepoint Managed Metadata Columns (available in Sharepoint 2010) a set of three controls are provided:

 

All of the above controls can be bound to a column of type 'Managed Metadata'. The very same controls can be used to Enterprise keyword columns. Please note that in the current version no term addition can be performed with these controls.

The Managed Metadata Picker

The control exposes a lookup picker that opens a popup form with the termset list defined in the Sharepoint's column properties. Only one of those terms can be selected from the list:

 

 Similar to every lookup picker, an item can be selected by clicking on a term and pressing "OK", or by simply double-clicking on the term.  "Clear" button empties the field's value. 

 Extra Configuration Tab

The following extra properties are available to Managed Metadata Picker: 

ButtonVAlign: Sets the vertical alignment of the browse/search button.

AllowBlankSearchText: Defines if the user is allowed to search the list without providing text-search criteria.

Sorted: Defines whether the results will be sorted by the Display Field

EnableSearchOnFocus: Defines if the control will display a search textbox when it receives focus, allowing users to type criteria and activate search by pressing the enter key. 

 

The Multi-Managed Metadata Picker

This control exposes a lookup picker that opens a popup form with the termset list defined in the Sharepoint's column properties. One or more of those terms can be selected from the list:  

 

As with every multi-lookup picker in PowerForms, selected values are displayed on the bottom side of the pop up form and can be de-selected with the red "X" button that accompanies them. In order to select/unselect the desired items, just check/uncheck the checkbox next to the result terms, and press OK. "Clear" button empties the field's value. 

Extra Configuration Tab

The following extra properties are available to Multi-Managed Metadata Picker: 

Delimiter: Defines the delimiter between selected items. If left blank, the items are separated by a comma. Use '\n' to place each item on a separate line. 

Prefix: A string that will be placed infront of each item. i.e.'•'. Use '\counter' to add a counter (i.e. 1, 2, 3, 4, etc) 

ButtonVAlign: Sets the vertical alignment of the browse/search button.

AllowBlankSearchText: Defines if the user is allowed to search the list without providing text-search criteria.

Sorted: Defines whether the results will be sorted by the Display Field

 

The Managed Metadata Textbox

The control exposes an autocomplete textbox that searches in the Sharepoint column's termset as you type. Only one of the matching terms can be selected from the dropdown list:

 

 

Extra Configuration Tab

The following extra properties are available to Managed Metadata Textbox:

PrefixLength: Defines the minimum text length that will activate the auto-search feature

DropDownHeight: The maximum drop down height of the control.

Sorted: Defines if the results will be sorted by the Display Field