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