IT tutorials
 
Technology
 

Sharepoint 2013 : Business Connectivity Services - External Lists

10/24/2014 9:24:19 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

An external list is a list in SharePoint that connects to a third-party external system, using a predefined external content type. In this section, I shall show you how to create an external list from an external content type and how the list operates within your SharePoint site.

Assuming you followed the steps in the previous section, or you have a working predefined external content type, creating an external list within SharePoint Designer 2013 is easy.

  1. Open SharePoint Designer 2013.
  2. Open your SharePoint 2013 site containing your external content type and where you will create the external list.
  3. Click the External Content Types node in the left navigation pane.
  4. Right-click the External Content Type in the right pane; I chose my Employee ECT.
  5. SharePoint shows a dialog; enter the list name and description.
  6. Click the OK button to complete the creation of the external list.
  7. In the left navigation, click the node for Lists and Libraries.
  8. Scroll down the page to see the external list (Figure 1).

9781430249412_Fig13-13.jpg

Figure 1. Lists and libraries showing the external list

This is all there is to do to create an external list in SharePoint Designer. If you click the External List instance in Designer, you will see a page that has all the details about the list (just like regular internal lists). From this page, you can edit the list permissions, create views, create custom actions, etc. Now, view this list in your SharePoint site.

  1. Open the SharePoint 2013 site, to which you deployed the external list.
  2. Click the gear icon and then select the menu item to view site contents.
  3. Scroll down the page until you find the external list—notice how it does not look much different from the regular list, except for the tile icon.
  4. Click the tile to open the external list.

If you are lucky, after clicking the tile to view your external list you might see data. The majority of readers (myself included) might see an access denied error. This is because the current logged in user does not have access rights to use the external content type entity to access the external data. I shall demonstrate how to remedy this issue as follows:

  1. Open Central Administration.
  2. Click the link to manage service applications, under the Application Management heading.
  3. Scroll to the Business Connectivity Services application.
  4. Select the Business Connectivity Services application and click the Manage icon on the ribbon.
  5. Click the drop-down arrow next to the External Content Type and select the menu option to set permissions.
  6. SharePoint displays a dialog like that in Figure 2.

    9781430249412_Fig13-14.jpg

    Figure 2. Set permissions for an external content type

  7. Add user to the top-most box and then click the Add button (or you could assign access to the group Authenticated User to allow everyone access to the ECT).
  8. For each added user or group, assign permission from those listed (Figure 2).
  9. Click the OK button to save.
  10. Return to the external list in your SharePoint site.
  11. Refresh the page and you should see data (Figure 3).

    9781430249412_Fig13-15.jpg

    Figure 3. External data shown in SharePoint via BCS

In the example demonstrated in the preceding steps, you created a new Employee external content type. This ECT connected to the Employees view in an Adventure Works database, within SQL Server. You configured the external content type to implement all CRUD operations, allowing Create, Read, Update, and Delete on the data. From the external content type, you created an external list.

Try viewing the external list in your SharePoint site and then editing one of the rows of data. After saving your changes in SharePoint, switch over to your SQL Server and execute a select of the Employees view—notice how the data reflects the change you made in SharePoint.

 
Others
 
- Sharepoint 2013 : Business Connectivity Services - External Content Types
- Sharepoint 2013 : Business Connectivity Services - Configure the Secure Store
- Sharepoint 2013 : Business Connectivity Services - Configuring Business Connectivity Services
- Sharepoint 2013 : Business Connectivity Services - Overview of Business Connectivity Services
- SQL Server 2012 : Introducing Basic Query Flow - Select Distinct
- SQL Server 2012 : Ordering the Result Set (part 2) - Specifying the ORDER BY Using Column Aliases, Using the Column Ordinal Position , ORDER BY and Collation
- SQL Server 2012 : Ordering the Result Set (part 1) - Specifying the ORDER BY Using Column Names, Specifying the ORDER BY Using Expressions
- Microsoft Exchange Server 2013 : Addressing Exchange - The display or Details Templates Editor
- Microsoft Exchange Server 2013 : Addressing Exchange - MailTips and group metrics (part 2) - User experience, Custom MailTips
- Microsoft Exchange Server 2013 : Addressing Exchange - MailTips and group metrics (part 1) - Client interaction, Configuring MailTips
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us