23
Session Code: IW.01 Social Networking in SharePoint Nick Boumans Giraffe IT

2009 10 Sdc09 Iw01 Nick Boumans Social Networking

Embed Size (px)

DESCRIPTION

Software Development Conference (SDN) 2009 - Papendal

Citation preview

Page 1: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Session Code: IW.01

Social Networking in SharePoint

Nick Boumans

Giraffe IT

Page 2: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Agenda

• Inleiding Social Networking

• SharePoint en Social Networking

• Development: Messaging WebPart– Technieken voor innovatief WebPart dev.

Page 3: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Wie ben ik?

• MCT

• Ent. Application Developer

• SharePoint Specialist

• Giraffe IT

• 25 jaar

Page 4: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Wie kent het niet?

Page 5: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Nadelen publieke tools

• Security

• Bedrijfsintegratie – Active Directory– Backup

• Toegankelijkheid

• ……

Page 6: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Voorbeelden Tools

• Social Networking Sites

• Wiki’s

• Blogs

• Podcasts

• Discussion Boards

Page 7: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Social Computing Tools

Veranderen:

• Hoe we informatie verkrijgen

• Hoe we samenwerken

• Hoe men zich profileert

Page 8: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Bedrijfsbehoefte Social Comp.

Direct

• Verbinden van mensen

• Delen van kennis en informatie

• Building Community

Indirect

• Katalysator voor innovatie

• Vinden van specialisten

Page 9: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

SP Social Networking Features

• People Search (MySite profile page)

• MySite (documenen / blogs)

• Presence information (OCS)

WebParts:

• RSS feeds views

• Recent blog posts (OOB webparts)

Page 10: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Requirements custom tools

• Eenvoudig, te leren en te begrijpen

• Persoonlijk, mensen moeten hun presentatie kunnen aanpassen (foto etc.)

• Zelf vullend, flexibel, voorkomen misbruik

• Toegang, anywhere, anytime on any device

• Security

Page 11: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Messaging WebPart in SP

• Opslag in lijsten– Opruimen history

• Profielfoto vanuit MySite

• Paging

• Postbacks en char counter: jQuery / AJAX

Page 12: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking
Page 13: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Load UserControl in WebPart

• Geen mogelijkheid om visueel Web Parts te ontwerpen in Visual Studio 2008!

• Reusability

• Na aanpassen User Control is geen IIS-reset en deployment vereist

• Designers kunnen de opmaak aanpassen zonder dat developers hieraan te pas komen

Page 14: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

UserControl in WebPart

User Control (ASCX)

User Control (ASCX)

Web PartWeb Part SharePointSharePoint

Wrapper (laden User Control)Wrapper (laden User Control)

Standalone Aanpasbaar

Page 15: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

DEMO USERCONTROL IN WP

Page 16: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

ASP.NET AJAX Grid

• Activeer ASP.NET Ajax

• Ajaxify MOSS http://www.codeplex.com/ajaxifymoss/Release/ProjectReleases.aspx?

• EnsurePanelFix();– Voorkomt conflict SharePoint en AJAX

• UpdatePanel

Page 17: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

DEMO AJAX GRID

Page 18: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Wat is jQuery?

• “jQuery is een vrij JavaScript-framework voor dynamische en interactieve websites, onder andere voor het bewerken van het DOM en CSS en interactie met de webserver (ook bekend als AJAX)….”

• www.jQuery.com

Page 19: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Wat biedt jQuery?

• Selectors

• Traversing: DOM doorlopen

• Manipulation: DOM veranderen

• Events

• Effecten

• Ajax

• Tools

Page 20: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

DEMO JQUERY CHAR COUNTER

Page 21: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Gebruikersafbeeldingprivate string GetUserPictureUrl(string accountName) { string imageUrl = ""; try { ServerContext siteContext = ServerContext.GetContext(SPContext.Current.Site); UserProfileManager pmManager = new UserProfileManager(siteContext); UserProfile profile = pmManager.GetUserProfile(accountName);

//get user image URL imageUrl = profile[PropertyConstants.PictureUrl].

Value.ToString(); }}

Page 22: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Vragen?

• Blogwww.sharepointdevelopment.nl

www.CodePlex.com/SPMessaging

• Twitterwww.twitter.com/nickboumans

Page 23: 2009 10 Sdc09 Iw01 Nick Boumans   Social Networking

Evaluation form

Vul je evaluatieformulier in en maak kans op een van de prachtige prijzen!!

Fill out your eveluation form and win one of the great prizes!!

Session Code: IW.01