48
Overview of Social Features in SharePoint 2013 By Michael Doyle SharePoint Friday Honolulu

Social features in SharePoint 2013

Embed Size (px)

DESCRIPTION

Slide deck from SharePoint Saturday (Friday) in Honolulu

Citation preview

Page 1: Social features in SharePoint 2013

Overview of Social Features in SharePoint 2013

By Michael Doyle

SharePoint FridayHonolulu

Page 2: Social features in SharePoint 2013

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

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

Profile

Page 5: Social features in SharePoint 2013

View More - Profile

Page 6: Social features in SharePoint 2013

Edit Details

Page 7: Social features in SharePoint 2013

Additional Details

Page 8: Social features in SharePoint 2013

Saving Profile Changes

Page 9: Social features in SharePoint 2013

Who can see this?

• SP2013– Everyone– Just Me

• SP2010– Everyone– Just Me– Team– Colleagues

Page 10: Social features in SharePoint 2013

Everyone or Just Me

Page 11: Social features in SharePoint 2013

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

Activities

Page 13: Social features in SharePoint 2013

Following People

Page 14: Social features in SharePoint 2013

I’m Following

Page 15: Social features in SharePoint 2013

Manage Following

Page 16: Social features in SharePoint 2013

Promote a Site

Page 17: Social features in SharePoint 2013

Promoted Sites

Page 18: Social features in SharePoint 2013

Managing Activities Seen

Page 19: Social features in SharePoint 2013

Activities Shared

Page 20: Social features in SharePoint 2013

Presence Information and Actions

Page 21: Social features in SharePoint 2013

Security Trimming Options

Page 22: Social features in SharePoint 2013

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

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

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

Personal Content Site

Page 26: Social features in SharePoint 2013

Easier to Check Permissions

Page 27: Social features in SharePoint 2013

Stop Sharing

Page 28: Social features in SharePoint 2013

Personal Apps

Page 29: Social features in SharePoint 2013

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

Setting up My Site Host

Page 31: Social features in SharePoint 2013

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

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

Community Sites

Page 34: Social features in SharePoint 2013

Top Contributors

Page 35: Social features in SharePoint 2013

Reputation Settings

Page 36: Social features in SharePoint 2013

Badges

Page 37: Social features in SharePoint 2013

Gift Badges

Page 38: Social features in SharePoint 2013

Community Settings

Page 39: Social features in SharePoint 2013

People Search

Page 40: Social features in SharePoint 2013

Embed Media

Page 41: Social features in SharePoint 2013

HTML Field Security

Page 42: Social features in SharePoint 2013

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

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

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

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

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

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

Click Here for Title

•Questions?