IT tutorials
 
Technology
 

Sharepoint 2013 : Business Connectivity Services - User Profile Properties

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

When it comes to user profiles in SharePoint, I frequently hear the same request: “I’d like to include fields from my HR database in user profiles.” In this section, I shall demonstrate how to set up this process. The steps that follow make the following assumptions:

  • You have a working User Profile Service Application.
  • You have a working User Profile Synchronization with AD or LDAP.
  • You have My Sites configured.

With the prerequisite assumptions out of the way, it’s time to get started with configuring user profile fields that link to Business Connectivity Service sources. For the scenario to work, you need a common attribute that links user profiles in SharePoint and records in your external line of business system. I have chosen the e-mail address attribute, since the e-mail address is present in Active Directory and my Employee external content type.

For simplicity, you will create a new managed user property that links the e-mail address in Active Directory with that in your external line of business system.

  1. Open Central Administration.
  2. Click the link to manage service applications, under the Application Management heading.
  3. Scroll and select the User Profile Service application.
  4. Click the Manage icon on the ribbon.
  5. Click the link to manage user properties.
  6. Click the link to create a new property.
  7. Give the property a unique name and display name.
  8. Leave the property type as String.
  9. Scroll to the Mappings section.
  10. Map the AD “mail” attribute using an import mapping.
  11. My mapping looks like that in Figure 1.

    9781430249412_Fig13-23.jpg

    Figure 1. User property mapping to AD attribute

  12. Set the policy for the property as optional and visible to everyone—this is not a requirement, but it makes life easier for dealing with users who do not have the e-mail address populated in AD.
  13. Click the OK button to save the property.
  14. Return to the main User Profile Service Application home page.
  15. Click the link to start a profile synchronization.
  16. Start a full synchronization.
  17. Wait for the synchronization to complete.
  18. Click the link to manage user profiles.
  19. Search for a user who is present both in SharePoint and AD.
  20. Check to see if the e-mail address populated into the custom-created profile property (assuming you populated the e-mail address in AD!).

    You now have a custom user profile property, mapped to an attribute in Active Directory; you have completed a full import and confirmed that user profiles contain this field with populated data. Next, you will configure a synchronization connection in the User Profile Service (UPS) Application that maps records in the Adventure Works ECT with user profiles.

  21. Return to the main User Profile Service Application home page.
  22. Click the link to create a new synchronization connection.
  23. On the next page, click the link to create new connection.
  24. Change the type to Business Data Connectivity and wait for the page to refresh (Figure 2).

    9781430249412_Fig13-24.jpg

    Figure 2. UPS synchronization connection to Business Connectivity Services

  25. Give the connection a name.
  26. Choose the external content type using the entity picker.
  27. Choose the 1:1 mapping and select the Unique Email property you created earlier for the e-mail mapped to the AD user profile.
  28. Click the OK button.

    The last set of steps in this demonstration involves surfacing columns from the external content type within user profiles. Profiles in Active Directory map to records in the external Adventure Works database using the e-mail address property you configured earlier.

  29. Return to the main User Profile Service Application home page.
  30. Click the link to manage user properties.
  31. Click the Job Title property and then select Edit in the drop-down control.
  32. The Job Title property currently maps to an attribute in AD; scroll to the Mappings section and click the Remove button.
  33. Change the Source Data Connection to the external data connection for the Adventure Works database.
  34. Select the Job Title column in the attribute drop-down control.
  35. Click the Add button.
  36. Click the OK button to save the property.
  37. Feel free to add new properties, or use existing properties, and then map them to other columns in the Adventure Works Employee external content type.
  38. Ensure that a user profile exists in Active Directory with an e-mail (mail attribute) value that matches a record with e-mail address in the Adventure Works database.
  39. Return to the main User Profile Service Application home page.
  40. Click the link to start a profile synchronization.
  41. Run a full synchronization.
  42. Once the profile sync completes, click the link to manage user profiles.
  43. Search for a profile that exists in AD and Adventure Works with the same e-mail.
  44. Edit the profile and confirm that the job title is that from the Adventure Works source.
 
Others
 
- Sharepoint 2013 : Business Connectivity Services - Connecting to an OData Source
- Sharepoint 2013 : Business Connectivity Services - External Data Columns
- Sharepoint 2013 : Business Connectivity Services - External Lists
- 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
 
 
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