4. Set the Title Field in the External Content Type
It is not required that a title
property is configured for the external content types, but this is
essential for achieving meaningful search results. It can be configured
in SPD 2010.
In SPD 2010, connect to the site
containing the external content type. In the Fields section (shown in
the bottom right corner on the summary page in Figure 11),
highlight the Name field of the most meaningful field to use as the
title. Click the Set as Title button on the ribbon, and save the
external content type by clicking File and then Save on the ribbon.
Figure 11. Setting the external content type title
5. Creating a Profile Page to Display BCS Results
The profile page is used to
display search result items from external content types. Open Central
Administration and navigate to Create Site Collections. Create a new
blank site to host the profile page, as shown in Figure 12.
Give it a meaningful name according to the external source it gets
paired with. It is important to write down the URL, as it has to be
entered manually later.
Figure 12. Creating a profile page
Navigate to the Manage Service
Applications page in Central Administration, and click the Business Data
Connectivity service application. On the Edit tab of the ribbon at the
top of the page, click Configure. This opens the dialog shown in Figure 13.
Figure 13. Associating the external content type with a profile page
Enter the URL of the
profile page into the Host SharePoint site URL field, and click OK.
Select the Customers external content type (or your own ECT) using the
check box, and click Create/Upgrade. This will create a new profile page
and View action for the external content type. Click OK for the warning
in Figure 14.
Figure 14. Warning page when creating a profile page
Clicking OK to the warning will
create a new default action pointing to the profile page, with the ID
passed as a URL parameter on the query string. A notification that the
operation has succeeded (Figure 15) will be displayed.
Figure 15. Confirming the profile page has been created