January 15, 2010 - 13:57, by Dostalek, Kevin
Here is the mindmap and code samples from the presentation I gave last night at nSpin entitled "Overview of the SP2010 Social Platform for Developers". NOTE: This is NOT the presentation I'm giving at SPSINDY. To view/download the whole mindmap just click on the thumb below:
As for the codesamples, here are a couple notes:
-
General
-
These are all VS2010 projects
-
You will need to change some of the hardcoded SPSite URLS to yours- anywhere you see
http://sp2010
-
The first and third projects must be run on a SharePoint 2010 server. As such, you need to insure that your project's framework targets are .Net 3.5 and the CPU targets are either x64 or AnyCPU -- do not try to use x86 for these. The second project doesn't matter. If you load the solution file, these will all be set properly.
-
The first project is a visual webpart (AreaSpecialist) that accesses the user profile manager to pull down out a profile image, and allows the user to "give them Kudos" as it tracks their peer rating.
-
You'll need to change the deploy location in the project settings.
-
Remember to create the custom property in the user profile service application called "KudosRating" of type integer.
-
This version of the code has the elevated privilege implemented.
-
The second project is a windows form application (SocialBrowser) that allows a user to browse around your portal or the internet and it automatically adds any comments that have been made by folks within your organization to the datagrid at the bottom by accessing the SocialData webservice.
-
The third project is a command line application that is a custom gatherer that imports and publishes twitter feeds to the SharePoint activity feed.
-
Don't forget to create the custom profile property "TwitterAccount" and fill in a couple in your user's profiles.
-
You need to run the "RegisterTwitterActivityApplication" at least once successfully (it's presently commented out in Program.Main).
-
After you register the twitter application, doublecheck that "Twitter" is available as an ActivityType at the bottom of your "Edit Profile" screen (and check the box if it isn't already).
-
Remember to deploy the RESX files to \14\Resources
-
Remember to deploy the twitter image (if you want to use it) to \14\Templates\Images
-
To download all the sample code projects click the image below:

All content posted here is free for anyone else to (re)use so long as you attribute it. If I get at least 10 requests in the replies to this blog post, I will record a camtasia screencast and post it for everyone that couldn't attend last night.
January 11, 2010 - 13:02, by Dostalek, Kevin
Hey everyone!
I just wanted to drop a note to all about two speaking engagements I've got lined up here in the month of January. I hope if any of the topics below are of interest that you'll be able to come and check them out.
The first is a SharePoint 2010 Development topic for the nSpin group that is coming up THIS THURSDAY.
|

|
|
Event |
nSpin SIG meeting following the Indy .Net UG meetin |
|
Date/Time |
1/14/10, 7:30ish (.NET UG starts at 6) |
|
Title |
Overview of the SharePoint 2010 Social Platform for Developers |
|
Level |
200-300ish |
| Audience |
SharePoint Developers |
|
Link |
|
|
Description |
In this session we're going to run through a brief overview of the new social features in SP2010 just to provide a bit of context and then immediately dive into a talk about how you can leverage these features as a social computing platform as you build out custom socially aware applications within the enterprise. Specifically we're going to look at the User Profile Service, the Social Data Service, and Activity Feeds. |
The second is a more general overview of all the new social features in SP2010 being delivered at the SharePoint Saturday event on January 30th. This will be a great event-- we have 21 speakers lined up in 4 tracks. As of last week, there were already 175+ attendees signed up! We absolutely will run out of space, so if you are interested in this event, then you need to go and register immediately! Here's the details around my session:
|

|
|
Event |
SharePoint Saturday Indianapolis |
|
Date/Time |
1/30/10, ~11:00 (slot 2), event starts at 8:00 |
|
Title |
Social Computing with SharePoint 2010 |
|
Level |
200 |
| Audience |
General |
|
Link |
|
|
Description |
In this session we'll explore the many social computing features in the new platform including improvements to MySites (MyProfile and MyNetwork), Search, Blogs, and Wiki's as well as looking at new features such as Social Tagging, Comments, Ratings, and the Activity Feed. In addition to the feature tour, we'll also discuss the business case for social computing within the enterprise and key considerations as you formulate your plans. |
Hope to see lots of folks at these events and their related after-hours activities. If you make it to any of them, be sure to stop by and say hi!