social features in sharepoint 2013
DESCRIPTION
Slide deck from SharePoint Saturday (Friday) in HonoluluTRANSCRIPT
![Page 1: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/1.jpg)
Overview of Social Features in SharePoint 2013
By Michael Doyle
SharePoint FridayHonolulu
![Page 2: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/2.jpg)
About Me
• Michael Doyle• Senior Architect at Waggener Edstrom• [email protected]• @SharePointNinja• www.sharepointninja.com• Author of “Customizing My Site in SharePoint
2010”
![Page 3: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/3.jpg)
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
![Page 4: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/4.jpg)
Profile
![Page 5: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/5.jpg)
View More - Profile
![Page 6: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/6.jpg)
Edit Details
![Page 7: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/7.jpg)
Additional Details
![Page 8: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/8.jpg)
Saving Profile Changes
![Page 9: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/9.jpg)
Who can see this?
• SP2013– Everyone– Just Me
• SP2010– Everyone– Just Me– Team– Colleagues
![Page 10: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/10.jpg)
Everyone or Just Me
![Page 11: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/11.jpg)
Photos
• Behind the scenes is the same as SP2010
• Different look on profile page
• Still have ability to use external URL
• Different empty icon
![Page 12: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/12.jpg)
Activities
![Page 13: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/13.jpg)
Following People
![Page 14: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/14.jpg)
I’m Following
![Page 15: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/15.jpg)
Manage Following
![Page 16: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/16.jpg)
Promote a Site
![Page 17: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/17.jpg)
Promoted Sites
![Page 18: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/18.jpg)
Managing Activities Seen
![Page 19: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/19.jpg)
Activities Shared
![Page 20: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/20.jpg)
Presence Information and Actions
![Page 21: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/21.jpg)
Security Trimming Options
![Page 22: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/22.jpg)
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
![Page 23: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/23.jpg)
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
![Page 24: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/24.jpg)
Goodbye SharePoint Workspace
• Not being shipped with Office 2013• Being replaced with SkyDrive Pro• Will still work with SharePoint 2013 sites
![Page 25: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/25.jpg)
Personal Content Site
![Page 26: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/26.jpg)
Easier to Check Permissions
![Page 27: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/27.jpg)
Stop Sharing
![Page 28: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/28.jpg)
Personal Apps
![Page 29: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/29.jpg)
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
![Page 30: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/30.jpg)
Setting up My Site Host
![Page 31: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/31.jpg)
User Profile Service
• Still uses FIM Services• Same requirements for AD
permissions• Pretty much the same as 2010
![Page 32: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/32.jpg)
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.)
![Page 33: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/33.jpg)
Community Sites
![Page 34: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/34.jpg)
Top Contributors
![Page 35: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/35.jpg)
Reputation Settings
![Page 36: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/36.jpg)
Badges
![Page 37: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/37.jpg)
Gift Badges
![Page 38: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/38.jpg)
Community Settings
![Page 39: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/39.jpg)
People Search
![Page 40: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/40.jpg)
Embed Media
![Page 41: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/41.jpg)
HTML Field Security
![Page 42: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/42.jpg)
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
![Page 43: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/43.jpg)
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.
![Page 44: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/44.jpg)
Query the listvar 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));
![Page 45: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/45.jpg)
Query the Person Field//This gets the person field user = currentItem.get_item('Person');
//This gets the user’s name from Person Fieldobj.innerText = user.get_lookupValue();
//Send the User IDgetUserProfile(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.
![Page 46: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/46.jpg)
Query the User Information Listvar 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.onUserQuerySucceeded),Function.createDelegate(this, this.onUserQueryFailed));
![Page 47: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/47.jpg)
Display Picturevar 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 + "' />";}}
![Page 48: Social features in SharePoint 2013](https://reader033.vdocuments.us/reader033/viewer/2022061121/546f98d8af79599b388b490f/html5/thumbnails/48.jpg)
Click Here for Title
•Questions?