Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
User Profiles: I Didn't Know I Could Do That!!
1. User Profiles: I Didn’t Know I Could Do That?
Stacy L. Deere-Strole
Focal Point Solutions, LLC
2.
3.
4. • A user profile is a visual display of
personal data associated with a
specific user, or a customized
desktop environment.
• A profile refers therefore to the
explicit digital representation of a
person's identity.
5. User Profile
vs.
MySites
• Can you have one without the
other?
• Why would you not have
MySites?
• Any reason you would not
use User Profiles?
6. Moral of the Story…
User Profiles and
MySites may seem like
the same thing and look
like they are the same
thing but in reality…. Are
two totally different
creatures.
10. • Search
• Managed Metadata
• Work Management
• Workflows
• Custom
Development
• Exchange
• Lync
11. •Import Capabilities
•Export Capabilities
•Force Active Directory to get Updated
•Automation not Manualization
•Is Your AD Up to Date?
•Does it pull from another system?
•Does it push to another system?
•Is there always an ongoing project
for AD?
12. How can I build
a User Profile
Service
Application?
55. Edit Page
Edit People Search Core Results Web Part
Select Change Query
Property Filter: ‘contentclass’
Equals Manual Value spspeople
56. Note: You can change these to show other metadata properties that are defined in
the search center by selecting the ‘Choose refiners’ option on the refinement web
part. The managed property must have the ‘Refinable’ option selected in the
search schema for it to be available in this list.
57. Add Sort Options
Edit Page
Edit People Search Core Results Web Part
Check “Show sort dropdown”
Example (First Name, Last Name & Location):
[{“name”:”First Name (A-Z)”,”sorts”:[{“p”:”FirstName”,”d”:0}]},{“name”:”Last Name
(A-Z)”,”sorts”:[{“p”:”LastName”,”d”:0}]},{“name”:”Location”,”sorts”:
[{“p”:”Location”,”d”:0}]}]
Note: Ensure that the managed property you want to sort by has the Sortable option enabled in the search
schema. Search Service Application, Search Schema, Select the LastName managed property and select the
Sortable: ‘Yes – active’ option (do the same for all properties you want to sort). Note you will need a full crawl for
this to take effect.
60. Search Display Template
• Locate the Item_Person.html file under
Display Templates/Search
• Make a copy of the file…
• Update Variable(s)
• Link to the File
• Impress Everyone!!
61. Updating Display Template
• From the Corporate Directory navigate to Site Settings. In the Look
and Feel section chose Design Manager.
• In Design Manager choose Upload Design Files.
• Click the link at the top of the page to open the Master Page Gallery in
Windows Explorer.
63. Modify Display Template
Now open the file in a text editor and find the
title tag. Change the title to Corporate Direct
People Item.
64. Add Fields
• <mso Tags
– These control the metadata for the Display Template. The one we’re interested in is the ManagedPropertyMapping tag. Add any
new custom properties to this tag before we can display that property in the page. This is where you have to decide what Managed
Properties from the Search Service you are going to use in your page. In this case, we will need to find what Managed Property
that is being used, In the Use Case their wanting to find what is being used for their Cell Phone.
65. Upload & Apply New Display
Template
• Click and drag the new display template file to the mapped directory
• After it is coping, go back to Design manager, you will see that the file should
have a status of ‘Conversion Successful’
• Publish a major version
• Go to the Corporate Directory Page and edit the page
• Edit the ‘Search Results’ webpart
• In the WebPart Properties, click Display Templates
• Choose, ‘Use a single template to display items
• Choose the ‘Corporate Direct People Item’ template
• Hit Save
• Publish the page