extending the my site activity feed with external blog posts
Download
Skip this Video
Download Presentation
Extending the My Site activity feed with external blog posts

Loading in 2 Seconds...

play fullscreen
1 / 34

Extending the My Site activity feed with external blog posts - PowerPoint PPT Presentation


  • 83 Views
  • Uploaded on

Extending the My Site activity feed with external blog posts. Bram de Jager Audience: Development Level: 300. About Bram. Lead SharePoint developer / architect for Information Worker Solutions center of Macaw Microsoft Certified Master for SharePoint Server 2010 Contact

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Extending the My Site activity feed with external blog posts' - alaire


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
extending the my site activity feed with external blog posts

Extending the My Site activity feed with external blog posts

Bram de Jager

Audience: Development

Level: 300

about bram
About Bram
  • Lead SharePoint developer / architect for Information Worker Solutions center of Macaw
  • Microsoft Certified Master for SharePoint Server 2010
  • Contact
slide3
Poll
  • Who had a coffee?
  • Who are developers?
  • Who developed on social solutions?
  • Who played around with the Activity Feed API?
  • Who extended the Activity Feed for customer based solutions?
agenda
Agenda
  • User Profiles and My Site
  • Activity Feeds
  • Extending the Activity Feed
  • Demo
user profiles and my site1
User Profiles and My Site
  • User Profiles
    • User Profile Service Application
    • Tight relation with MMS, BCS and Search
    • My Site Host (mandatory) provides My Profile and My Newsfeed pages
  • My Site
    • Personal Site Collection (personal storage)
    • “Content” tab on My Profile page
logical architecture components
Logical Architecture Components

My Network

My

Profile

My Content

Pages / Navigation

My Site Host

My Site

Site Collections

My Web Application

Web Application

UPA

MMS

Search

Service Applications

activity feeds1
Activity Feeds
  • Aggregates colleague activity as feed
  • Natively displays user profile changes, tagging and notes activity
  • Security trimmed, you can only see what you are allowed to see
  • Can be extended via Activity Feed API
data aggregation
Data aggregation
  • Two types of activities
    • User profile changes such as job title, colleague changes, shared interest and anniversary reminders
    • Social feedback events such as tags, notes, ratings and personal blog posts
  • Gathering by timer job and broadcasted to colleagues
timer jobs
Timer Jobs
    • Activity Feed job (Hourly)
      • Pre-computes activities to be shown in users\' activity feeds.
      • Aggregates user profile changes and social feedback
  • Activity Feed Cleanup (Daily)
    • Cleans up pre-computed activities used in activity feeds which are older than 14 days. This job does not affect the User Profile Change Log.
before and after sp1
Before and after SP1
  • Enable Activity Feed job
    • RTM: disabled by default
    • SP1: enabled by default
  • Additional setting in “Setup My Sites”
activity feed types
Activity Feed types
  • Consolidated feed
    • Activities from everything I trackhttp://<my>/_layouts/activityfeed.aspx?consolidated=true
  • Published feed
    • My activitieshttp://<my>/_layouts/activityfeed.aspx
    • Activities by publisherhttp://<my>/_layouts/activityfeed.aspx?publisher=<accountname>
consolidated feed
Consolidatedfeed
  • Activities from everything I track
activities i am following
Activities I am following…
  • Activity feed depends on interests defined in Edit Profile page
  • Custom activity applications will be soon here as well
published feed
Published feed
  • Account related activities / my activities
extending activity feed
Extending activity feed
  • Why extend the activity feed?
    • ECM activities within SharePoint environment
    • xRM/CRM activities
    • External data (WordPress, Facebook, Twitter)
  • Activity Feed API for extending the activity feed
    • Microsoft.Office.Server.ActivityFeed namespace
    • Microsoft.Office.Server.UserProfiles.dll
activity feed architecture
Activity feed architecture

Activity Feed - Profile DB

Activity Feed

Activity Timer Job

Custom Timer Job

Profile and social gatherers

Custom gatherer

Social database

Change log - Profile DB

blog activity application
Blog Activity Application

Activity Feed - Profile DB

Activity Feed

Activity Timer Job

Custom Timer Job

  • BlogPostTimerJob

Profile and social gatherers

Custom gatherer

  • BlogPostGatherer

Social database

Change log - Profile DB

main classes
Main classes
  • ActivityFeednamespace
    • BlogActivityApplication
    • BlogPostGatherer
    • BlogPostTimerJob
  • Entities namespace
    • Blog
    • Post
  • BlogActivityApplicationGlobals
solution package wsp
Solution Package (WSP)
  • Features
    • Activity Feed Blog application (Farm)
    • Configure Diagnostic Areas and Categories (Farm)
    • Activity Feed Blog Post Setup (WebApp)
  • Resources
    • ActivityFeedBlog.resx
activity templates
Activity Templates
  • Type Display
    • ActivityFeed_Blog_BlogPostAdded_Type_Display
    • “Posted a new blog post”
activity templates1
Activity Templates
  • Single Value Template
    • ActivityFeed_Blog_BlogPostAdded_SV_Template
    • “{Publisher} has written a new post {Link} on blog {Link2}.”
activity templates2
Activity Templates
  • Multi Value Template
    • ActivityFeed_Blog_BlogPostAdded_MV_Template
    • “{Publisher} has written {Size} new posts on blog {Link}. <br/> {List}”
recap key points
Recap: Key Points
  • Activity Feed types
    • Consolidated feed
    • Published feed
  • Extending the activity feed
    • Don’t just add everything, like Twitter (overload database)
    • Because you can, doesn’t mean you must!
what we covered
What We Covered
  • User Profiles and My Site
  • Activity Feeds
  • Extending the Activity Feed
resources
Resources
  • MSDN
    • User ProfilesandSocial Data Code Sampleshttp://msdn.microsoft.com/en-us/library/ff512773.aspx
    • Microsoft.Office.Server.ActivityFeednamespace
  • WesHackett’s blog
    • http://weshackett.com
  • SharePoint Guidance
    • SharePoint Logger
    • http://spg.codeplex.com
thank you
Thank You!
  • Blog: http://bramdejager.wordpress.com
  • Twitter: @bramdejager
  • Thanks to Wes Hackett
    • http://weshackett.com
ad