Enables wiki selection using type-ahead search. Represents selections as a querystring or comma-separated values.
Supported Data Types
custom
Scripted Extension Configuration XML
<property id="propertyId" labelResourceName="nameResource" descriptionResourceName="descriptionResource" dataType="custom" template="core_v2_wikiLookup" enableCurrent="true" maxSelections="1" format="query" parentGroupId="" />
Plugin Configuration C#
var property = new Property { Id = "propertyId", LabelResourceName = "nameResource", DescriptionResourceName = "descriptionResource", DataType = "custom", Template = "core_v2_wikiLookup", Options = new NameValueCollection { { "enableCurrent", "true" }, { "maxSelections", "1" }, { "format", "query" }, { "parentGroupId", "" } } };
Options
Name | Description | Default | Options |
---|---|---|---|
enableCurrent | When true, enables curent wiki selection (represented with an ID of -1). | true | true, false |
maxSelections | The number of wikis that can be selected. | 1 | |
format | Identifies whether to serialize selected values as a querystring (Wiki=ID&Wiki=ID&...) or comma-seperated list (ID,ID,ID,..). | query | query, csv |
parentGroupId | When set to an integer ID of a group, only wikis in that group will be selectable. |