Location Definition File Schema Reference

Applies to: SharePoint Server 2010

This content is governed by the Creative Commons License – Non-Commercial Version 2.5.

In SharePoint Server search, the federated search location configuration details are specified in a location definition (.osdx) file.

Important

In Enterprise Search in Microsoft Office SharePoint Server 2007, the location definition file extension was .fld. You can still import location definitions files with the .fld extension in SharePoint Server 2010, but you should use the .osdx extension when you create new location definition files.

The Location Definition File Schema extends the OpenSearch description document specification.

Syntax

<OpenSearchDescription
xmlns=http://a9.com/~/spec/opensearch/1.1/
xmlns:ldf=”http://schemas.microsoft.com/Search/2007/location”>
  <ShortName>string</ShortName>
  <Description>string</Description>
  <Language>LCID</Language>
  <Url type=”application/sharepoint+xml” template={searchTerms}”/>
  <ldf:InternalName>string</ldf:InternalName>
  <ldf:LocationType>LocalSharePoint|OpenSearch|FASTSearch</ldf:LocationType>
  <ldf:Version>version number</ldf:Version>
  <ldf:IsPrefixPattern>true|false</ldf:IsPrefixPattern>
  <ldf:Trigger>string</ldf:Trigger>
  <ldf:ConnectionUrlTemplate>url</ldf:ConnectionUrlTemplate>
  <ldf:MoreLinkTemplate>url</ldf:MoreLinkTemplate>
  <ldf:CreationDate>date</ldf:CreationDate>
  <ldf:LastModifiedDate>date</ldf:LastModifiedDate>
  <ldf:IsRestricted>true|false</ldf:IsRestricted>
  <ldf:AllowedSiteCollectionGuids>string</ldf:AllowedSiteCollectionGuids>
  <ldf:Visualization name="string">
    <Xsl>...</Xsl>
    <Properties>...</Properties>
    <SampleData>string</SampleData>
  </ldf:Visualization>
</OpenSearchDescription>

Elements

Following are the elements in the Location Definition File Schema.

Name

OpenSearchDescription Element (Location Definition)

ShortName Element (Location Definition)

Description Element (Location Definition)

Language Element (Location Definition)

Url Element (Location Definition)

InternalName Element (Location Definition)

LocationType Element (Location Definition)

IsPrefixPattern Element (Location Definition)

IsPrefixPattern Element (Location Definition)

Trigger Element (Location Definition)

ConnectionUrlTemplate Element (Location Definition)

MoreLinkTemplate Element (Location Definition)

CreationDate Element (Location Definition)

LastModifiedDate Element (Location Definition)

IsRestricted Element (Location Definition)

AllowedSiteCollectionGuids Element (Location Definition)

Visualization Element (Location Definition)

Xsl Element (Location Definition)

Properties Element (Location Definition)

SampleData Element (Location Definition)

See Also

Concepts

Federated Search Overview

Other Resources

OpenSearch Specification