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.
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.
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.
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.
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.