property Element of locationProvider (Search Connector Schema)
The optional <property> element specifies the properties used by the location provider. These properties are specific to this location provider, so there is no predefined set of names to use. The <property> element has two attributes, as described in this topic.
Syntax
<!-- property element -->
<xs:element name="propertyBag" type="propertyStoreType" minOccurs="0">
<xs:element name="property" minOccurs="0" maxOccurrs="unbounded"/>
<xs:complexType>
<xs:complexContent>
<xs:extension base="xs:anyType">
<xs:attribute name="name" type="canonical-name" use="required"/>
<xs:attribute name="type"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:element>
<property> Element Information
Parent Element | Child Elements |
---|---|
locationProvider Element (Search Connector Schema) | property, described in this topic. |
<property> Attributes
Attribute | Description | Value |
---|---|---|
name | Required. The display name of the property. | |
type | Required. The type of property. | Any: Default. The value will not be coerced by the property subsystem. VT_NULL will be returned by GetPropertyType.
|
Remarks
For the OpenSearch provider, the following properties are used:
- OpenSearchShortName: Short name of the search service
- OpenSearchQueryTemplate: Template, formatted following the OpenSearch template convention, for the query service
- MaximumResultCount: (number) Maximum number of results returned by the search service
- LinkIsFilePath: (Boolean) If true, the provider tries to interpret returned items as files, using their extensions to create the proper ShellItem in the view. If false, items are treated as URL shortcuts.