Introduction
This post will help you in the configuration of external searches in SharePoint 2013 using the BCS, where data is stored on the SQL server.
Prerequisite
Assuming that the following steps have already been completed and are in place for further search configuration,
- Creation of database, table, and view (optional).
- There should be one generic account/user-id having read/write access on the database for access.
- Database server should be accessible from the local server where SharePoint is installed, with port opening if required.
- Service account having administrator rights on SharePoint Central Administrator to perform search configuration.
- SharePoint Designer installed on the server.
- Create Site-Collection where you want to create External Content Type and configure the Search Centre.
Steps to be performed to configure external search on SharePoint 2013,
- Create and configure the Secure Store Service(SSS).
- Create External Content Type(ECT) in SharePoint Designer.
- Create and configure Business Data Connectivity (BDC) Service.
- Create a Search Service Application and run a full crawl.
- Create a Search Centre and start the search.
Step 1 - Create and configure Secure Store Service(SSS)
To create SSS,
- Go-to Central Admin page>> Application Management>> Manage Service Applications.
- Click ‘New’ on the top left in ribbon panel and click on Secure Store Service.
- On new form, fill the required detail and click ‘Ok’ to create new SSS application.
- Now click on newly created SSS application and click on ‘Generate New Key’ on top ribbon panel.
- On key generation page, enter the Pass Phrase in text-box and enter the same string in Confirm Pass Phrase textbox.
- The passphrase you entered is in encrypted form, so make a note of it to recall in future.
- Click ‘Ok’ to submit the form.
- Now the next step is to create Target Application in SSS. The target application is used to store the credential in an encrypted format and it is used on behalf of an authorized user to make any request.
- Click ‘New’ on the top left to create a new Target application.
- In Target Application ID type string, this should be unique.
- Enter Display Name and Contact Email

- Click Next

- Click Next

Add all users who have access to manage the target application settings. Click Ok to close the wizard for Target application creation. - Next step is to set credentials of a target application.
- Point to Target application and select ‘Set Credential’ on a menu bar.
- Enter the credential and click ‘Ok’ to close the window.
- Once you have set the credentials for the target application, it is ready to be used by a SharePoint Server service.
Step 2 - Create External Content Type(ECT) in SharePoint Designer

















Jeevanandham MPosted Oct 31, 2018, 1:20 AM
Thanks for sharing......