Session a European SharePoint conference in Copenhagen, February 5th 2013
SharePoint 2013 has brought some huge improvements in social computing. Real-time collaboration, news feeds, following people and artefacts, groups and communities – it all helps businesses to push knowledge dispersion, collaboration and the feeling of togetherness to a new level. But it doesn’t have to stop there – this session will show how to further customize and improve the aspects of social computing within SharePoint 2013. Compliance is a key issue: this session will show how to tailor SharePoint social features to fit the specific business needs, how to tweak it to be your vehicle in corporate social computing, compliant with your internal procedures and regulatory requirements.
In this demo-packed session, we will explore SharePoint 2013 Social API, client and server, and we will see how to get most of the news feeds and social data. We will integrate public social networks with SharePoint social features, create that way a powerful social and knowledge computing platform for businesses. SharePoint is not just a product packet with social features – it can be a platform for social computing within your company. This session will show how.
3. Who?
Born in
Sarajevo, In SharePoint world
Adis Jugo Bosnia since 2003
Microsoft MVP Technology Advisor /
SharePoint Server Architect @ PlanB.
4. A quick poll
Do you use facebook and/or twitter?
Do you practice social computing in your
company?
Do you use SharePoint as a social computing
platform?
Did you implement any kind of governance for
your SC platform?
5. What?
• SharePoint 2013 and social
– Whole new feature stack
• Custom development
– On top of the OOB feature set
– Governance and management of social data
• Development and extensibility
– Server
– Client
6. Why?
• Extending the feature set
• Governance and management in corporate world
• Internal procedures and compliance regulations
• Devices, devices…
9. Social architecture
User Profile Service
Managed Content DB
Profile DB (per-service)
Metadata (site collection(per-user)
Content DBs per-user)
Site and
People and User profile Personal
#Hashtags Feed posts document
tag following properties storage space
following
10. See and do in real-time
• Distributed caching service removes the need for ‘activity
gatherers’ and timer jobs
• All requests are serviced in real-time based on the
current state of the social network
• Requests rely on a mix of social databases, the
distributed cache, and search index
11. Feeds storage overview
API Event
User‘s
Site’s
Persisted feed personal site
content DB
content DB
Cached feed Person Site Document Tag
12. Creating aggregate feeds on-demand
By post
Documen
ts
Post
By most date?
recent
reply?
Roll-up
similar
Sites
Reply
Request count
data
Reply
14. Stored in Garfield’s MySite in Odie’s MySite
Stored
Microfeed / private folder
Microfeed / public folder
Stored in John’s MySite
Stored in Garfield’s MySite
Microfeed / public folder / private folder
Microfeed
Stored in the content DB
Stored in the profile DB
15. Feed data structure
SocialFeed
SocialThread[]
Actors[]
Attributes
SocialPost[] (RootPost and Replies[])
Attachment
Author
LikerInfo
Text
17. An API? Five of them!
• Client-side
– CSOM: Managed C#, Silverlight
– Mobility API: Windows Phone
– JavaScript Object model (JSOM)
– REST / OData
• Server-side
– Server Object Model
20. CSOM & social in SharePoint 2013
– Microsoft.SharePoint.Client
– Microsoft.SharePoint.ClientRuntime
– *Microsoft.SharePoint.Client.Social
– *Microsoft.SharePoint.Client.UserProfiles
– *Microsoft.SharePoint.Client.Microfeed
– *Microsoft.SharePoint.Client.Taxonomy
21. CSOM & social in SharePoint 2013
– Everyone, Likes, News, Personal, Timeline
– Sites, Users, Documents, Tags
– User, Site, Document, or Tag
– Text, Attachments, LikerInfo
22. What you can do…
• Get Profiles and Properties
• Get Feeds and Replies
• Update the Current Users Picture
• Create posts for the current user
• Use it for
– SharePoint Apps
– Device apps
– Integration purposes
23. What you cannot do…
• Find out if an account exists
• Create a User Profile
• Change a User Profile (except of the user picture)
• Delete a User Profile
• Create/delete/like posts on behalf of another user
• Follow/Unfollow social actors on behalf of another
user
27. What you can do…
• As with Client, plus
• Find out if an account exists
• Create MySite
• Create/delete/like posts on behalf of another user
• Follow/unfollow social actors on behalf of another
user
28. What you cannot do…
• Connect from clients
– SharePoint Apps
– Client side & devices
30. A way to go…
From the… Server JavaScript .Net CSOM Silverlight REST
OM API API API API
Server X X X X
JavaScript X X
Remote .Net Client X
SharePoint App X X X
Windows Phone X X X
Other platforms X
31. Recap
• SP2013: new cool social features
– Lacks governance and advanced management
• Client API
– Manipulating feeds, following and likes
– Integration in apps and solutions
– Lack of governance possibilities
• Server side API
– Full set of possibilities, no restriction
– Suitable for implementing governance features
32. Call for action!
• Look at the SP 2013 Out of the box features
• Consider compliance regulations
• Consider internal procedures
• Make an implementation plan