8. My Site Hubs
• Hubs are found in global navigation
• Newsfeed (security trimmed)
– Following
– Everyone
– Mentions
• SkyDrive
– Recent Documents on Office 365
• Sites
9. Search Posts and Feeds
• Can be used instead of REST
• Developer topics
11. • Following Infrastructure is the same as
2010
– Stored in User Profile Database
– 2 Million Items per UP Database
• Integration with Consolidated Feeds Web
part
• People can see who are their followers
Following People
12. • Ability for users to receive system
notifications for a site
• Site conversations and activities are
received in consolidated feeds web part
• Site Admin can control at library level
Following Sites
13. • Track and get information on document
changes and activities
• When a document or metadata changes
new system feed is posted
– People following get notified
– Not meant to replace alerts
Document Following
15. • A single aggregated view of all
SharePoint, Exchange and Project task
items
• Work Management Service Application
• Aggregated tasks can be synced with
Exchange
My Tasks
16. My Site, Profile Data
• Data stored in personal site and velocity cache
• Two lists: Microfeed list and Social List
• Profile database still used for following
people and tags
17. • Used to store user generated activities
• Users control system activities which
show as activity feeds
• User activity available to all authenticated
users, some system activities are security
trimmed
• New events trigger a new item in the list
and the Velocity Cache
Microfeed List
23. • Community site template Id=62
• CommunityEventReceiver fires when
activated
• Asynchronous updates - beware of save
conflicts
• The Community Site provides a forum
experience and reputation model. It does not
expose a specific API
– Use SharePoint site and list APIs directly to extend its
functionality
– Discussion Board Template Type = 108
Community Template
25. • Ratings and comments not in socialdb
• Reputation is based on Community silos
• Can use Feature Stapling to add reputation
functionality across the communities
Ratings and Reputation
28. My Site Social API
• Working with social feeds
• Following people and content
(documents, sites, and tags),
• Working with social data
• Working with user properties.
• Add social features to a custom app
or extend the social features
33. UserProfiles and People
• New client-side UserProfile Object
• Provides methods you can use to
create a personal site
• Does not contain the user properties
that the server-side UserProfile
object contains.
• Use the PersonProperties object and its
UserProfileProperties property for Server
Side
34. New Objects for People
• SocialActor object represents users (and
other entities) for feed and following
activities
• SPSocialActor used for server OM
• PersonProperties object contains general
user properties and user profile
properties
• PersonProperties is the primary API for
accessing user properties from client-
side code
35. • CSOM: SocialFollowingManager
• JSOM: SocialFollowingManager
• REST:
http://<mySiteUri>/_api/social.following
• SSOM: SPSocialFollowingManager
Instance of Following Manager
37. • CSOM: Follow (StopFollowing)
• JSOM: follow (stopFollowing)
• REST: POST
http://<mySiteUri>/_api/social.following/Follow
(http://<mySiteUri>/_api/social.following/StopF
ollowing)
and pass the actor parameter in the request
body
• SSOM: Follow (StopFollowing)
Follow an Item
38. • http://<mySiteUri>/
– Maps back to My Site host
• http://<siteUri>/
– Any site within the scope of the User Profiles service
application
• _Api always on the right of the path
REST API
39. REST Services for Social Features
• Social features in the REST service
• http://<mySiteUri>/_api/social.feed
• http://<mySiteUri>/_api/social.following
• http://<siteUri>/_api/SP.UserProfiles.Peopl
eManager
40. • HTML and JavaScript control
• Supports Claims
• Same Properties as Server Control
• SPClientPeoplePicker
Client-side People Picker
41. • // Get the people picker object from the page.
var peoplePicker =
this.SPClientPeoplePicker.SPClientPeoplePickerDict.
peoplePickerDiv_TopSpan;
• // Get information about all users.
var users = peoplePicker.GetAllUserInfo(); var
userInfo = ''; for (var i = 0; i < users.length; i++) { var
user = users[i]; for (var userProperty in user) {
userInfo += userProperty + ': ' + user[userProperty] +
'<br>'; } } $('#resolvedUsers').html(userInfo);
Code for People Picker
Profile lets you find out more information about somebody, including what you have in common with them. It also lets you access the content that they have shared with you.
OverviewCommunity sites can be created to give people a chance to talk about a particular topic (or set of topics). Features include categories, reputation, moderation, etc. Robin Miller is the PM contact if more information is desired.My Site IntegrationThe ‘Sites’ hub will provide a link to a community portal where communities can be seen and searched. One additional goal is to add community-related activities into the newsfeed, but that is not going to be visible in Beta2.