SlideShare a Scribd company logo
1 of 48
Overview of Social Features in
SharePoint 2013




                      By Michael Doyle
About Me
•   Michael Doyle
•   Senior Architect at Waggener Edstrom
•   doyle@techelixir.com
•   @SharePointNinja
•   www.sharepointninja.com
•   Author of “Customizing My Site in SharePoint
    2010”
What’s New
• Community Site functionality with
  rankings, ratings, comments and replies
• My Sites are similar but have a new look and
  feel
• Skydrive
• New ways to mention, follow, and tag
Profile
View More - Profile
Edit Details
Additional Details
Saving Profile Changes
Who can see this?
• SP2013
  – Everyone
  – Just Me

• SP2010
  – Everyone
  – Just Me
  – Team
  – Colleagues
Everyone or Just Me
Photos

 • Behind the scenes is
   the same as SP2010

 • Different look on
   profile page

 • Still have ability to
   use external URL

 • Different empty icon
Activities
Following People
I’m Following
Manage Following
Promote a Site
Promoted Sites
Managing Activities Seen
Activities Shared
Presence Information and Actions
Security Trimming Options
SkyDrive vs. SkyDrive Pro
• SkyDrive
  – Free to individuals
  – For Personal Files
  – Cloud Storage
  – Available in Office 365 Home Premium
  – SharePoint Online users get 7 gig for personal
    storage
SkyDrive vs. SkyDrive Pro - 2
• SkyDrive Pro
  – Part of SharePoint 2013
  – Storage limits determined by SharePoint
    Administrator
  – Synchs directly to Office Applications
  – Get benefits of coauthoring, versioning and
    workflows
Goodbye SharePoint Workspace
• Not being shipped
  with Office 2013
• Being replaced with
  SkyDrive Pro
• Will still work with
  SharePoint 2013
  sites
Personal Content Site
Easier to Check Permissions
Stop Sharing
Personal Apps
My Site Host
• Similar to SP2010
• Switching to Publishing and changing the look
  and feel will break the site.
• Created the same way as in SP2010
Setting up My Site Host
User Profile Service

• Still uses FIM Services
• Same requirements for AD
  permissions
• Pretty much the same as 2010
Profile Replication
• Recommendation is that you keep the user
  profiles in the region they are physically
  located
• Consuming user profile service will result in
  sluggish performance
• Use the Profile Replication Service (just like in
  SP 2010) to replicate user profile data (About
  Me, Pictures, etc.)
Community Sites
Top Contributors
Reputation Settings
Badges
Gift Badges
Community Settings
People Search
Embed Media
HTML Field Security
Client Side Scripting with People fields
• Scenario
  – We want to use client side scripting and we want to
    display the photo of the person in the people field.


• Solution
  – Include sp.js
  – Query the list to get the user id
  – Query the user information list to get the url of the
    photo
Include the Script Link
• Edit aspx page in Advanced Mode

• Put in script link
   – <SharePoint:scriptlink ID="ScriptLink"
     runat="server" Name="sp.js" Localizable="false"
     LoadAfterUI="true"/>



Note: can also be made part of the master page.
Query the list
var context = new SP.ClientContext.get_current();
var web = context.get_web();
var list = web.get_lists().getByTitle(‘Birthdays');
var query = new SP.CamlQuery();
var camlString = '<View><Query><Where><Geq><FieldRef Name="SortDate" /><Value
Type="DateTime"><Today /></Value></Geq></Where><OrderBy><FieldRef Name="SortDate"
Ascending="True" Type="DateTime"/></OrderBy></Query></View>;
query.set_viewXml(camlString);
allItems = list.getItems(query);
context.load(allItems, 'Include(Title, Person, SortDate)');
context.executeQueryAsync(Function.createDelegate(this, this.BirthdaySuccess),
Function.createDelegate(this, this.BirthdayFailed));
Query the Person Field
//This gets the person field
user = currentItem.get_item('Person');

//This gets the user’s name from Person Field
obj.innerText = user.get_lookupValue();

//Send the User ID
getUserProfile(user.get_lookupId());

Note: the lookup id of this field is tied to the User Information List for the site
collection it is running in.
Query the User Information List
var userInfoList = web.get_siteUserInfoList();
var camlQuery = new SP.CamlQuery();
//Set CAML query to limit it to the one user
camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name="ID"/>'
+'<Value Type="Number">' + userId +
'</Value></Eq></Where></Query><RowLimit>1</RowLimit></View>');

collListItem = userInfoList.getItems(camlQuery);
context.load(collListItem);

context.executeQueryAsync(Function.createDelegate(this, this.onUserQuerySucceede
d),Function.createDelegate(this, this.onUserQueryFailed));
Display Picture
var item = collListItem.itemAt(0);
var obj = document.getElementById("cel-pic-1");
var test = item.get_item('Picture');
if(test == null) //person doesn’t have a picture
{
obj.innerHTML = "<img height=64px width=64px class='cel-img' src='_layouts/images/person.gif'
/>";
}
else //use the url of the picture field
{
var pictureUrl = item.get_item('Picture').get_url();
obj.innerHTML = "<img height=64px width=64px class='cel-img' src='" + pictureUrl + "' />";
}
}
Click Here for Title

•Questions?

More Related Content

What's hot

SEF2013 - A jQuery Primer for SharePoint
SEF2013 - A jQuery Primer for SharePointSEF2013 - A jQuery Primer for SharePoint
SEF2013 - A jQuery Primer for SharePointMarc D Anderson
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePointsamirsangli
 
The SharePoint & jQuery Guide - Updated 1/14/14
The SharePoint & jQuery Guide - Updated 1/14/14The SharePoint & jQuery Guide - Updated 1/14/14
The SharePoint & jQuery Guide - Updated 1/14/14Mark Rackley
 
Whats new in search in SharePoint 2013
Whats new in search in SharePoint 2013Whats new in search in SharePoint 2013
Whats new in search in SharePoint 2013Michal Pisarek
 
User Profiles: I Didn't Know I Could Do That!! @SPSHI
User Profiles:  I Didn't Know I Could Do That!! @SPSHIUser Profiles:  I Didn't Know I Could Do That!! @SPSHI
User Profiles: I Didn't Know I Could Do That!! @SPSHIStacy Deere
 
SharePoint 2010 - User Profile Store
SharePoint 2010 - User Profile Store SharePoint 2010 - User Profile Store
SharePoint 2010 - User Profile Store Joshua Haebets
 
TulsaTechFest - Maximize SharePoint UX with free jQuery libraries
TulsaTechFest - Maximize SharePoint UX with free jQuery librariesTulsaTechFest - Maximize SharePoint UX with free jQuery libraries
TulsaTechFest - Maximize SharePoint UX with free jQuery librariesMark Rackley
 
SPTechCon Boston 2015 - Overcoming SharePoint Limitations
SPTechCon Boston 2015 - Overcoming SharePoint LimitationsSPTechCon Boston 2015 - Overcoming SharePoint Limitations
SPTechCon Boston 2015 - Overcoming SharePoint LimitationsMark Rackley
 
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...Sezai Komur
 
Optimizing SharePoint 2010 for Internet sites
Optimizing SharePoint 2010 for Internet sitesOptimizing SharePoint 2010 for Internet sites
Optimizing SharePoint 2010 for Internet sitesKanwal Khipple
 
Introduction to SharePoint 2013 Search
Introduction to SharePoint 2013 SearchIntroduction to SharePoint 2013 Search
Introduction to SharePoint 2013 SearchSurfRay
 
Get started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePointGet started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePointYaroslav Pentsarskyy [MVP]
 
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondSharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondKanwal Khipple
 
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...Kanwal Khipple
 
Share Point Presentation Introduction To Sharepoint
Share Point Presentation    Introduction To SharepointShare Point Presentation    Introduction To Sharepoint
Share Point Presentation Introduction To Sharepointrpeterson1
 
Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Vishal Pawar
 

What's hot (20)

SEF2013 - A jQuery Primer for SharePoint
SEF2013 - A jQuery Primer for SharePointSEF2013 - A jQuery Primer for SharePoint
SEF2013 - A jQuery Primer for SharePoint
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePoint
 
The SharePoint & jQuery Guide - Updated 1/14/14
The SharePoint & jQuery Guide - Updated 1/14/14The SharePoint & jQuery Guide - Updated 1/14/14
The SharePoint & jQuery Guide - Updated 1/14/14
 
Whats new in search in SharePoint 2013
Whats new in search in SharePoint 2013Whats new in search in SharePoint 2013
Whats new in search in SharePoint 2013
 
User Profiles: I Didn't Know I Could Do That!! @SPSHI
User Profiles:  I Didn't Know I Could Do That!! @SPSHIUser Profiles:  I Didn't Know I Could Do That!! @SPSHI
User Profiles: I Didn't Know I Could Do That!! @SPSHI
 
SharePoint 2010 - User Profile Store
SharePoint 2010 - User Profile Store SharePoint 2010 - User Profile Store
SharePoint 2010 - User Profile Store
 
Search Server 2010
Search Server 2010Search Server 2010
Search Server 2010
 
SharePoint Performance
SharePoint PerformanceSharePoint Performance
SharePoint Performance
 
TulsaTechFest - Maximize SharePoint UX with free jQuery libraries
TulsaTechFest - Maximize SharePoint UX with free jQuery librariesTulsaTechFest - Maximize SharePoint UX with free jQuery libraries
TulsaTechFest - Maximize SharePoint UX with free jQuery libraries
 
SPTechCon Boston 2015 - Overcoming SharePoint Limitations
SPTechCon Boston 2015 - Overcoming SharePoint LimitationsSPTechCon Boston 2015 - Overcoming SharePoint Limitations
SPTechCon Boston 2015 - Overcoming SharePoint Limitations
 
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
 
Optimizing SharePoint 2010 for Internet sites
Optimizing SharePoint 2010 for Internet sitesOptimizing SharePoint 2010 for Internet sites
Optimizing SharePoint 2010 for Internet sites
 
Introduction to SharePoint 2013 Search
Introduction to SharePoint 2013 SearchIntroduction to SharePoint 2013 Search
Introduction to SharePoint 2013 Search
 
Get started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePointGet started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePoint
 
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondSharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday Redmond
 
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
 
Share point 2010
Share point 2010Share point 2010
Share point 2010
 
SharePoint 2013 features overview
SharePoint 2013 features overviewSharePoint 2013 features overview
SharePoint 2013 features overview
 
Share Point Presentation Introduction To Sharepoint
Share Point Presentation    Introduction To SharepointShare Point Presentation    Introduction To Sharepoint
Share Point Presentation Introduction To Sharepoint
 
Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013
 

Viewers also liked

Karine bosch andy-van_steenbergen-caml-spsbe12
Karine bosch andy-van_steenbergen-caml-spsbe12Karine bosch andy-van_steenbergen-caml-spsbe12
Karine bosch andy-van_steenbergen-caml-spsbe12BIWUG
 
CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
CSOM (Client Side Object Model). Explained @ SharePoint Saturday HoustonCSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
CSOM (Client Side Object Model). Explained @ SharePoint Saturday HoustonKunaal Kapoor
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery GuideMark Rackley
 
Biwug 25092012 sp2013_itpro_hans_jaspers
Biwug 25092012 sp2013_itpro_hans_jaspersBiwug 25092012 sp2013_itpro_hans_jaspers
Biwug 25092012 sp2013_itpro_hans_jaspersBIWUG
 
SharePoint Client Object Model (CSOM)
SharePoint Client Object Model (CSOM)SharePoint Client Object Model (CSOM)
SharePoint Client Object Model (CSOM)Kashif Imran
 
LINQ to SharePoint
LINQ to SharePointLINQ to SharePoint
LINQ to SharePointAndré Vala
 
Data Access Options in SharePoint 2010
Data Access Options in SharePoint 2010Data Access Options in SharePoint 2010
Data Access Options in SharePoint 2010Rob Windsor
 
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechConDeep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechConSPTechCon
 

Viewers also liked (8)

Karine bosch andy-van_steenbergen-caml-spsbe12
Karine bosch andy-van_steenbergen-caml-spsbe12Karine bosch andy-van_steenbergen-caml-spsbe12
Karine bosch andy-van_steenbergen-caml-spsbe12
 
CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
CSOM (Client Side Object Model). Explained @ SharePoint Saturday HoustonCSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery Guide
 
Biwug 25092012 sp2013_itpro_hans_jaspers
Biwug 25092012 sp2013_itpro_hans_jaspersBiwug 25092012 sp2013_itpro_hans_jaspers
Biwug 25092012 sp2013_itpro_hans_jaspers
 
SharePoint Client Object Model (CSOM)
SharePoint Client Object Model (CSOM)SharePoint Client Object Model (CSOM)
SharePoint Client Object Model (CSOM)
 
LINQ to SharePoint
LINQ to SharePointLINQ to SharePoint
LINQ to SharePoint
 
Data Access Options in SharePoint 2010
Data Access Options in SharePoint 2010Data Access Options in SharePoint 2010
Data Access Options in SharePoint 2010
 
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechConDeep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
 

Similar to Social features in SharePoint 2013

SPSLA - Customizing My Sites
SPSLA - Customizing My SitesSPSLA - Customizing My Sites
SPSLA - Customizing My SitesMichael Doyle
 
User Profiles: I Didn't Know I Could Do That? (Demo Slides)
User Profiles:  I Didn't Know I Could Do That?  (Demo Slides)User Profiles:  I Didn't Know I Could Do That?  (Demo Slides)
User Profiles: I Didn't Know I Could Do That? (Demo Slides)Stacy Deere
 
User Profiles: I Didn't Know I Could Do That?-Stacy Deere-Strole-SharePoint C...
User Profiles: I Didn't Know I Could Do That?-Stacy Deere-Strole-SharePoint C...User Profiles: I Didn't Know I Could Do That?-Stacy Deere-Strole-SharePoint C...
User Profiles: I Didn't Know I Could Do That?-Stacy Deere-Strole-SharePoint C...Stacy Deere
 
SharePoint NYC search presentation
SharePoint NYC search presentationSharePoint NYC search presentation
SharePoint NYC search presentationjtbarrera
 
10 most liked features of SharePoint 2013
10 most liked features of SharePoint 201310 most liked features of SharePoint 2013
10 most liked features of SharePoint 2013Karthik Nallajalla
 
Mct Summit 2013 Why SharePoint 2013
Mct Summit 2013   Why SharePoint 2013Mct Summit 2013   Why SharePoint 2013
Mct Summit 2013 Why SharePoint 2013Chris Givens
 
SharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and ExamplesSharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and ExamplesDrew Madelung
 
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...Chris O'Brien
 
User Profiles: I Didn't Know I Could Do That (Updated Demo)
User Profiles:  I Didn't Know I Could Do That (Updated Demo)User Profiles:  I Didn't Know I Could Do That (Updated Demo)
User Profiles: I Didn't Know I Could Do That (Updated Demo)Stacy Deere
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConSPTechCon
 
Share, Follow, and Sync: How SharePoint 2013 uses Personal MySites for Social...
Share, Follow, and Sync: How SharePoint 2013 uses Personal MySites for Social...Share, Follow, and Sync: How SharePoint 2013 uses Personal MySites for Social...
Share, Follow, and Sync: How SharePoint 2013 uses Personal MySites for Social...Paul Stork (Microsoft MVP)
 
User Profiles: I Didn't Know I Could Do That!!
User Profiles:  I Didn't Know I Could Do That!!User Profiles:  I Didn't Know I Could Do That!!
User Profiles: I Didn't Know I Could Do That!!Stacy Deere
 
Jaime Velez: SharePoint 2010 Social Computing
Jaime Velez: SharePoint 2010 Social ComputingJaime Velez: SharePoint 2010 Social Computing
Jaime Velez: SharePoint 2010 Social ComputingSharePoint Saturday NY
 
Drew madelung sp designer workflows - sp-biz
Drew madelung   sp designer workflows - sp-bizDrew madelung   sp designer workflows - sp-biz
Drew madelung sp designer workflows - sp-bizDrew Madelung
 
NZYP Project Casestudy using SilverStripe CMS
NZYP Project Casestudy using SilverStripe CMSNZYP Project Casestudy using SilverStripe CMS
NZYP Project Casestudy using SilverStripe CMSCam Findlay
 
Developing For Multiple Environments on SharePoint Online
Developing For Multiple Environments on SharePoint OnlineDeveloping For Multiple Environments on SharePoint Online
Developing For Multiple Environments on SharePoint OnlineFrank Sikorski
 
SP Fest Chicago - User Profiles: I Didn’t Know I Could Do That!!
SP Fest Chicago - User Profiles:  I Didn’t Know I Could Do That!!SP Fest Chicago - User Profiles:  I Didn’t Know I Could Do That!!
SP Fest Chicago - User Profiles: I Didn’t Know I Could Do That!!Stacy Deere
 
SP Fest Denver - Taking User Profiles to New Heights!
SP Fest Denver - Taking User Profiles to New Heights!SP Fest Denver - Taking User Profiles to New Heights!
SP Fest Denver - Taking User Profiles to New Heights!Stacy Deere
 

Similar to Social features in SharePoint 2013 (20)

SPSLA - Customizing My Sites
SPSLA - Customizing My SitesSPSLA - Customizing My Sites
SPSLA - Customizing My Sites
 
User Profiles: I Didn't Know I Could Do That? (Demo Slides)
User Profiles:  I Didn't Know I Could Do That?  (Demo Slides)User Profiles:  I Didn't Know I Could Do That?  (Demo Slides)
User Profiles: I Didn't Know I Could Do That? (Demo Slides)
 
User Profiles: I Didn't Know I Could Do That?-Stacy Deere-Strole-SharePoint C...
User Profiles: I Didn't Know I Could Do That?-Stacy Deere-Strole-SharePoint C...User Profiles: I Didn't Know I Could Do That?-Stacy Deere-Strole-SharePoint C...
User Profiles: I Didn't Know I Could Do That?-Stacy Deere-Strole-SharePoint C...
 
What is SharPoint 2013?
What is SharPoint 2013?What is SharPoint 2013?
What is SharPoint 2013?
 
SharePoint NYC search presentation
SharePoint NYC search presentationSharePoint NYC search presentation
SharePoint NYC search presentation
 
10 most liked features of SharePoint 2013
10 most liked features of SharePoint 201310 most liked features of SharePoint 2013
10 most liked features of SharePoint 2013
 
Mct Summit 2013 Why SharePoint 2013
Mct Summit 2013   Why SharePoint 2013Mct Summit 2013   Why SharePoint 2013
Mct Summit 2013 Why SharePoint 2013
 
SharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and ExamplesSharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and Examples
 
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
 
User Profiles: I Didn't Know I Could Do That (Updated Demo)
User Profiles:  I Didn't Know I Could Do That (Updated Demo)User Profiles:  I Didn't Know I Could Do That (Updated Demo)
User Profiles: I Didn't Know I Could Do That (Updated Demo)
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
 
Share followsync
Share followsyncShare followsync
Share followsync
 
Share, Follow, and Sync: How SharePoint 2013 uses Personal MySites for Social...
Share, Follow, and Sync: How SharePoint 2013 uses Personal MySites for Social...Share, Follow, and Sync: How SharePoint 2013 uses Personal MySites for Social...
Share, Follow, and Sync: How SharePoint 2013 uses Personal MySites for Social...
 
User Profiles: I Didn't Know I Could Do That!!
User Profiles:  I Didn't Know I Could Do That!!User Profiles:  I Didn't Know I Could Do That!!
User Profiles: I Didn't Know I Could Do That!!
 
Jaime Velez: SharePoint 2010 Social Computing
Jaime Velez: SharePoint 2010 Social ComputingJaime Velez: SharePoint 2010 Social Computing
Jaime Velez: SharePoint 2010 Social Computing
 
Drew madelung sp designer workflows - sp-biz
Drew madelung   sp designer workflows - sp-bizDrew madelung   sp designer workflows - sp-biz
Drew madelung sp designer workflows - sp-biz
 
NZYP Project Casestudy using SilverStripe CMS
NZYP Project Casestudy using SilverStripe CMSNZYP Project Casestudy using SilverStripe CMS
NZYP Project Casestudy using SilverStripe CMS
 
Developing For Multiple Environments on SharePoint Online
Developing For Multiple Environments on SharePoint OnlineDeveloping For Multiple Environments on SharePoint Online
Developing For Multiple Environments on SharePoint Online
 
SP Fest Chicago - User Profiles: I Didn’t Know I Could Do That!!
SP Fest Chicago - User Profiles:  I Didn’t Know I Could Do That!!SP Fest Chicago - User Profiles:  I Didn’t Know I Could Do That!!
SP Fest Chicago - User Profiles: I Didn’t Know I Could Do That!!
 
SP Fest Denver - Taking User Profiles to New Heights!
SP Fest Denver - Taking User Profiles to New Heights!SP Fest Denver - Taking User Profiles to New Heights!
SP Fest Denver - Taking User Profiles to New Heights!
 

Social features in SharePoint 2013

  • 1. Overview of Social Features in SharePoint 2013 By Michael Doyle
  • 2. About Me • Michael Doyle • Senior Architect at Waggener Edstrom • doyle@techelixir.com • @SharePointNinja • www.sharepointninja.com • Author of “Customizing My Site in SharePoint 2010”
  • 3. What’s New • Community Site functionality with rankings, ratings, comments and replies • My Sites are similar but have a new look and feel • Skydrive • New ways to mention, follow, and tag
  • 5. View More - Profile
  • 9. Who can see this? • SP2013 – Everyone – Just Me • SP2010 – Everyone – Just Me – Team – Colleagues
  • 11. Photos • Behind the scenes is the same as SP2010 • Different look on profile page • Still have ability to use external URL • Different empty icon
  • 22. SkyDrive vs. SkyDrive Pro • SkyDrive – Free to individuals – For Personal Files – Cloud Storage – Available in Office 365 Home Premium – SharePoint Online users get 7 gig for personal storage
  • 23. SkyDrive vs. SkyDrive Pro - 2 • SkyDrive Pro – Part of SharePoint 2013 – Storage limits determined by SharePoint Administrator – Synchs directly to Office Applications – Get benefits of coauthoring, versioning and workflows
  • 24. Goodbye SharePoint Workspace • Not being shipped with Office 2013 • Being replaced with SkyDrive Pro • Will still work with SharePoint 2013 sites
  • 26. Easier to Check Permissions
  • 29. My Site Host • Similar to SP2010 • Switching to Publishing and changing the look and feel will break the site. • Created the same way as in SP2010
  • 30. Setting up My Site Host
  • 31. User Profile Service • Still uses FIM Services • Same requirements for AD permissions • Pretty much the same as 2010
  • 32. Profile Replication • Recommendation is that you keep the user profiles in the region they are physically located • Consuming user profile service will result in sluggish performance • Use the Profile Replication Service (just like in SP 2010) to replicate user profile data (About Me, Pictures, etc.)
  • 42. Client Side Scripting with People fields • Scenario – We want to use client side scripting and we want to display the photo of the person in the people field. • Solution – Include sp.js – Query the list to get the user id – Query the user information list to get the url of the photo
  • 43. Include the Script Link • Edit aspx page in Advanced Mode • Put in script link – <SharePoint:scriptlink ID="ScriptLink" runat="server" Name="sp.js" Localizable="false" LoadAfterUI="true"/> Note: can also be made part of the master page.
  • 44. Query the list var context = new SP.ClientContext.get_current(); var web = context.get_web(); var list = web.get_lists().getByTitle(‘Birthdays'); var query = new SP.CamlQuery(); var camlString = '<View><Query><Where><Geq><FieldRef Name="SortDate" /><Value Type="DateTime"><Today /></Value></Geq></Where><OrderBy><FieldRef Name="SortDate" Ascending="True" Type="DateTime"/></OrderBy></Query></View>; query.set_viewXml(camlString); allItems = list.getItems(query); context.load(allItems, 'Include(Title, Person, SortDate)'); context.executeQueryAsync(Function.createDelegate(this, this.BirthdaySuccess), Function.createDelegate(this, this.BirthdayFailed));
  • 45. Query the Person Field //This gets the person field user = currentItem.get_item('Person'); //This gets the user’s name from Person Field obj.innerText = user.get_lookupValue(); //Send the User ID getUserProfile(user.get_lookupId()); Note: the lookup id of this field is tied to the User Information List for the site collection it is running in.
  • 46. Query the User Information List var userInfoList = web.get_siteUserInfoList(); var camlQuery = new SP.CamlQuery(); //Set CAML query to limit it to the one user camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name="ID"/>' +'<Value Type="Number">' + userId + '</Value></Eq></Where></Query><RowLimit>1</RowLimit></View>'); collListItem = userInfoList.getItems(camlQuery); context.load(collListItem); context.executeQueryAsync(Function.createDelegate(this, this.onUserQuerySucceede d),Function.createDelegate(this, this.onUserQueryFailed));
  • 47. Display Picture var item = collListItem.itemAt(0); var obj = document.getElementById("cel-pic-1"); var test = item.get_item('Picture'); if(test == null) //person doesn’t have a picture { obj.innerHTML = "<img height=64px width=64px class='cel-img' src='_layouts/images/person.gif' />"; } else //use the url of the picture field { var pictureUrl = item.get_item('Picture').get_url(); obj.innerHTML = "<img height=64px width=64px class='cel-img' src='" + pictureUrl + "' />"; } }
  • 48. Click Here for Title •Questions?

Editor's Notes

  1. Introduction slide