Business Data List Web Part in SharePoint 2010


Introduction:

Business Data List Web Part in SharePoint 2010 is used to display the Line of Business data within a grid view format. The Business Data List web part is the most commonly used web part for displaying LOB data.

Data Source:

I have created a database in SQL which has a table with some data.

BDataSha1.gif

Sample Table:

"Sample" table has the following items.

BDataSha2.gif

External Content Type:

I have created an external content type named "New External Content Type" to integrate the external data to SharePoint using SharePoint Designer.

BDataSha3.gif

To create External Content Type using SharePoint Designer refer http://www.c-sharpcorner.com/UploadFile/anavijai/4236/.

Once you have created the external content type using SharePoint Designer , Go to Central Administration => Application Management => Manage Service Applications => Business Connectivity Service application => you could be able to see the external content type that you have created using Designer as shown in the following.

BDataSha4.gif

Set the permission for the external content type (Refer http://www.c-sharpcorner.com/UploadFile/anavijai/4252/).

Add Business Data List web part:

  1. Go to the SharePoint site.
  2. Go to Site Actions => Edit the Page.
  3. In the ribbon interface, go to Editing Tools => Insert => Web Part.
  4. In the Categories, select Business Data => Business Data List.

    BDataSha5.gif
     
  5. Click on Add.
  6. In the web part toolbox, you can select the external content type that we have created and click on Ok.

    BDataSha6.gif
     
  7. External data will be displayed in the web part as shown in the following.

    BDataSha7.gif