property Element of propertyStore (Search Connector Schema)
The optional <property> element specifies a property used by the search connector. These properties are specific to this search connector, so there is no predefined set of names to use. This element has no child elements.
Syntax
<!-- property for propertyStore 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>
Element Information
Parent Element | Child Elements |
---|---|
propertyStore Element (Search Connector Schema) |
Attributes
Attribute | Description | Values |
---|---|---|
name | Public. Required. The display name of the property. | Default |
type | Public. Required. The type of property. | Any: Default. The value will not be coerced by the property subsystem. VT_NULL will be returned by GetPropertyType.
|
schema | Public. Optional. The schema where the property is defined. | Default |
Remarks
OpenSearch search connectors can use the OpenSearchHTMLRolloverTemplate property. This property identifies a template that is formatted following the OpenSearch template convention. The OpenSearchHTMLRolloverTemplate template is used when the user clicks on the "Search on website" button in the command bar.
Example
The following example shows a <propertyStore> element with two <property> elements.
<propertyStore>
<property name="OpenSearchHTMLRolloverTemplate">https://www.adventureworks.com/Search/?Query={searchTerms}</property>
<property name="isExternal" type="boolean">true</property>
</propertyStore>