In the previous post I described the exact scenario I am trying to implement and detailed how to create the WCF service and deploy it. In this post I will continue by describing how can we prepare this WCF to be consumed from the User Profiles Synchronization service using BCS.

Create the BCS Profile Pages Host

Step 1: User left click on "Start (push button)" in "Start"

clip_image001

 

 

 

Step 2: User left click on "SharePoint 2010 Central Administration (menu item)" in "Start menu"

clip_image002

 

 

 

Step 3: User left click on "Manage web applications (editable text)" in "Home - Central Administration - Windows Internet Explorer"

clip_image003

 

 

 

Step 4: User left click on "Web Applications Tab 2 of 2. (pane)" in "Web Applications Management - Windows Internet Explorer"

clip_image004

 

 

 

Step 5: User keyboard input in "Web Applications Management - Windows Internet Explorer" [... Alt-Shift-Tab]

clip_image005

 

 

 

Step 6: User left click on "Create New Web Application (dialog)" in "Web Applications Management - Windows Internet Explorer"

clip_image006

 

 

 

Step 7: User left click on "Port (editable text)" in "Web Applications Management - Windows Internet Explorer"

clip_image007

 

 

 

Step 8: User keyboard input in "Web Applications Management - Windows Internet Explorer"

clip_image008

 

 

 

Step 9: User left click on "Create New Web Application (pane)" in "Web Applications Management - Windows Internet Explorer"

clip_image009

 

 

 

Step 10: User left click on "Create New Web Application (pane)" in "Web Applications Management - Windows Internet Explorer"

clip_image010

 

 

 

Step 11: User left click on "Database Name (editable text)" in "Web Applications Management - Windows Internet Explorer"

clip_image011

 

 

 

Step 12: User keyboard input in "Web Applications Management - Windows Internet Explorer" [... Shift-End Delete ... Backspace ...]

clip_image012

 

 

 

Step 13: User left click on "Create New Web Application (pane)" in "Web Applications Management - Windows Internet Explorer"

clip_image013

 

 

 

Step 14: User left click on "Create New Web Application (pane)" in "Web Applications Management - Windows Internet Explorer"

clip_image014

 

 

 

Step 15: User left click on "Create New Web Application (pane)" in "Web Applications Management - Windows Internet Explorer"

clip_image015

 

 

 

Step 16: User left click on "OK (push button)" in "Web Applications Management - Windows Internet Explorer"

clip_image016

 

Step 17: User left click on "Title (editable text)" in "Create Site Collection - Windows Internet Explorer"

clip_image017

 

 

 

Step 18: User keyboard input in "Create Site Collection - Windows Internet Explorer" [...]

clip_image018

 

 

 

Step 19: User left click on "Create Site Collection (pane)" in "Create Site Collection - Windows Internet Explorer"

clip_image019

 

 

 

Step 20: User left click on "Blank Site (list item)" in "Create Site Collection - Windows Internet Explorer"

clip_image020

 

 

 

Step 21: User left click in "Create Site Collection - Windows Internet Explorer"

clip_image021

 

 

 

Step 22: User left click in "Create Site Collection - Windows Internet Explorer"

clip_image022

 

 

 

Step 23: User keyboard input in "Create Site Collection - Windows Internet Explorer" [...]

clip_image023

 

 

 

Step 24: User left click on "Create Site Collection (pane)" in "Create Site Collection - Windows Internet Explorer"

clip_image024

 

 

 

Step 25: User left click on "OK (push button)" in "Create Site Collection - Windows Internet Explorer"

clip_image025

 

 

 

Step 26: User left click on "OK (push button)" in "Top-Level Site Successfully Created - Windows Internet Explorer"

clip_image026

 

 

Configure the BCS to Use the New Host

Step 1: User left click on "Manage service applications (editable text)" in "Home - Central Administration - Windows Internet Explorer"

clip_image001[6]

 

 

 

Step 2: User left click on "Business Data Connectivity Service (editable text)" in "Manage Service Applications - Windows Internet Explorer"

clip_image002[6]

 

 

 

Step 3: User left click on "Configure (push button)" in "View External Content Types - Windows Internet Explorer"

clip_image003[6]

 

 

 

Step 4: User keyboard input in "View External Content Types - Windows Internet Explorer" [...]

clip_image004[6]

 

 

 

Step 5: User left click on "Configure External Content Type Profile Page Host (pane)" in "View External Content Types - Windows Internet Explorer"

clip_image005[6]

 

 

 

Step 6: User left click on "OK (push button)" in "View External Content Types - Windows Internet Explorer"

clip_image006[6]

 

 

Create the Employee WCF BCS Model

Step 1: User left click on "Start (push button)" in "Start"

clip_image001[8]

 
 

Step 2: User left click on "Microsoft SharePoint Designer 2010 (menu item)" in "Start menu"

clip_image002[8]

 
 

Step 3: User left click on "Open Site (push button)" in "Microsoft SharePoint Designer"

clip_image004[8]

 
 

Step 4: User keyboard input in "Open Site" [... Home ... End ...]

clip_image006[8]

 
 

Step 5: User left click on "Open (push button)" in "Open Site"

clip_image008[4]

 
 

Step 6: User left click on "External Content Types (push button)" in "http://intranet.contoso.net:4444"

clip_image009[4]

 
 

Step 7: User left click on "External Content Type (push button)" in "http://intranet.contoso.net:4444"

clip_image010[4]

 
 

Step 8: User left click on "Name (link)" in "http://intranet.contoso.net:4444"

clip_image011[4]

 
 

Step 9: User keyboard input in "http://intranet.contoso.net:4444" [... Tab]

clip_image012[4]

 
 

Step 10: User left click on "Minimize the Ribbon (push button)" in "http://intranet.contoso.net:4444"

clip_image013[4]

 
 

Step 11: User left click on "External System (link)" in "http://intranet.contoso.net:4444"

clip_image014[4]

 
 

Step 12: User left click on "Add Connection (push button)" in "http://intranet.contoso.net:4444"

clip_image015[4]

 
 

Step 13: User left click on "Data Source Type (text)" in "External Data Source Type Selection"

clip_image016[4]

 
 

Step 14: User left click on "WCF Service (list item)"

clip_image017[4]

 
 

Step 15: User left click on "OK (push button)" in "External Data Source Type Selection"

clip_image018[4]

 
 

Step 16: User keyboard input in "WCF Connection" [... Alt-Shift-Tab ... Ctrl-V]

clip_image019[4]

 
 

Step 17: User left click on "Open (push button)" in "WCF Connection"

clip_image020[4]

 
 

Step 18: User left click on "Metadata Exchange (list item)"

clip_image021[4]

 
 

Step 19: User left click on "Service Endpoint URL: (editable text)" in "WCF Connection"

clip_image022[4]

 
 

Step 20: User keyboard input in "WCF Connection"

clip_image023[4]

 
 

Step 21: User left click on "OK (push button)" in "WCF Connection"

clip_image024[4]

 
 

Step 22: User left click on "http://sp2010.dev.mcs.local:8080/EmployeeWCFService/EmployeeService.svc/mex (outline item)" in "http://intranet.contoso.net:4444"

clip_image025[4]

 
 

Step 23: User left click on "Web Methods (outline item)" in "http://intranet.contoso.net:4444"

clip_image026[4]

 
 

Step 24: User left click on "GetEmployeeData (text)" in "http://intranet.contoso.net:4444"

clip_image027

 
 

Step 25: User right click on "GetEmployeeData (text)" in "http://intranet.contoso.net:4444"

clip_image028

 
 

Step 26: User left click on "New Read Item Operation (menu item)"

clip_image029

 
 

Step 27: User left click on "Next > (push button)" in "Read Item"

clip_image030

 
 

Step 28: User keyboard input in "Read Item" [... Alt-Shift-Tab]

clip_image031

 
 

Step 29: User left click on "Next > (push button)" in "Read Item"

clip_image032

 
 

Step 30: User left click on "Map to Identifier: (check box)" in "Read Item"

clip_image033

 
 

Step 31: User left click on "Map to Identifier: (check box)" in "Read Item"

clip_image034

 
 

Step 32: User left click on "ID (text)" in "Read Item"

clip_image035

 
 

Step 33: User left click on "Map to Identifier: (check box)" in "Read Item"

clip_image036

 
 

Step 34: User left click on "< Back (push button)" in "Read Item"

clip_image037

 

Step 44: User keyboard input in "http://intranet.contoso.net:4444" [... Alt-Shift-Tab]

clip_image038

 
 
 

Step 35: User left click on "Map to Identifier: (check box)" in "Read Item"

clip_image039

 
 

Step 36: User left click on "Open (push button)" in "Read Item"

clip_image040

 
 

Step 37: User left click on "ID (list item)"

clip_image041

 
 

Step 38: User left click on "Next > (push button)" in "Read Item"

clip_image042

 
 

Step 39: User left click on "Finish (push button)" in "Read Item"

clip_image043

 
 

Step 40: User left click on "EmployeeWCFBCS (push button)" in "http://intranet.contoso.net:4444"

clip_image044

 
 

Step 41: User left click on "Save (push button)" in "http://intranet.contoso.net:4444"

clip_image045

 
 

Step 42: User left click on "Minimize the Ribbon (push button)" in "http://intranet.contoso.net:4444"

clip_image046

 
 

Step 43: User left click on "Create Profile Page (push button)" in "http://intranet.contoso.net:4444"

clip_image047

 

Deploy and Test the Employee BCS Model

Step 1: User left click on "Manage service applications (editable text)" in "Home - Central Administration - Windows Internet Explorer"

clip_image001[10]

 
 

Step 2: User left click on "Business Data Connectivity Service (editable text)" in "Manage Service Applications - Windows Internet Explorer"

clip_image002[10]

 
 

Step 3: User left click on "Open Menu (graphic)" in "View External Content Types - Windows Internet Explorer"

clip_image003[8]

 
 

Step 4: User left click on "Set Permissions (link)" in "View External Content Types - Windows Internet Explorer"

clip_image004[10]

 
 

Step 5: User keyboard input in "View External Content Types - Windows Internet Explorer" [...]

clip_image005[8]

 
 

Step 6: User left click on "Check Names (graphic)" in "View External Content Types - Windows Internet Explorer"

clip_image006[10]

 
 

Step 7: User left click on "Add (push button)" in "View External Content Types - Windows Internet Explorer"

clip_image007[4]

 
 

Step 8: User left click on "Set Object Permissions (pane)" in "View External Content Types - Windows Internet Explorer"

clip_image008[6]

 
 

Step 9: User left click on "Set Object Permissions (pane)" in "View External Content Types - Windows Internet Explorer"

clip_image009[6]

 
 

Step 10: User left click on "Set Object Permissions (pane)" in "View External Content Types - Windows Internet Explorer"

clip_image010[6]

 
 

Step 11: User left click on "Set Object Permissions (pane)" in "View External Content Types - Windows Internet Explorer"

clip_image011[6]

 
 

Step 12: User left click on "OK (push button)" in "View External Content Types - Windows Internet Explorer"

clip_image012[6]

 
 

Step 13: User left click on "View External Content Types (pane)" in "View External Content Types - Windows Internet Explorer"

clip_image013[6]

 
 

Step 14: User left click on "http://intranet.contoso.net:4444/_bdc/http___intranet_contoso_net_4444/EmployeeWCFBCS_1.aspx?ID={0} (editable text)" in "View External Content Types - Windows Internet Explorer"

clip_image014[6]

 
 

Step 15: User left click on "Address (editable text)" in "EmployeeWCFBCS - Windows Internet Explorer"

clip_image015[6]

 
 

Step 16: User keyboard input in "EmployeeWCFBCS - Windows Internet Explorer" [End Backspace Backspace Backspace ... Enter]

clip_image016[6]

 
 

Step 17: User keyboard input in "EmployeeWCFBCS - Windows Internet Explorer" [... Alt-Tab]

clip_image017[6]

 

So Now the BCS model is deployed and working as expected. The next step is to configure the UPS connections.