다음을 통해 공유


DataSource Element (List Instance)

Applies to: SharePoint Foundation 2010

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

<DataSource>
  <Property />
</DataSource>

Attributes

None

Child Elements

Property Element (List Instance)

Parent Elements

ListInstance Element (List Instance)

Occurrences

Minimum: 0

Maximum: 1

Remarks

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 the Microsoft Business Data Connectivity (BDC) service, is being used to bring external data to a SharePoint external list, 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 about what other Property elements may be allowed or required as children of the DataSource element. If BDC is being used, 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.

<DataSource>
      <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" />
    </DataSource>    

See Also

Concepts

List Instances