DataSource Element (List Instance)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Child Elements
Parent Elements

Specifies the data source that is used to provision the list instance.

  <Property />

Minimum: 0

Maximum: 1

The DataSource element must have at least one child Property element whose Name parameter is set to "Service". If some middle tier service, other than Microsoft's Business Data Connectivity (BDC) service, is being used to bring external data to a SharePoint external list, then the documentation of that other service must provide you with the name of the service (the value of the Value parameter of the Property element) and information on what other Property elements may be allowed or required as children of the DataSource element. If BDC is being used, then use "Business Data Catalog" as the value of the Value parameter.

Also, if BDC is being used, you must have four other Property element children of the DataSource element whose Name attributes have the values shown in the following example.

      <Property Name="Service" Value="Business Data Catalog" />
      <Property Name="Entity" Value="Friendly name of external content type (entity)" />
      <Property Name="EntityNamespace" Value="Fully qualified namespace of the class that defines the external content type (entity)" />
      <Property Name="LobSystemInstance" Value="NameOfExternalDataSource" />
      <Property Name="SpecificFinder" Value="Name of method that reads a single item; for example ReadItem" />