- Newsfeed
- Everyone
- Activities
- Mentions
- Likes
How are Feeds Created - All Activities are written to the Distributed Cache.The microblog features and feeds rely on the Distributed Cache to store data for very fast retrieval across all entities. Feeds mainly Rely on the following two Caches from Distributed Cache service.
- "Feed Cache" that Stores recent activities and recent conversations for all entities
- "Last Modified Time Cache" which is used to determine the last modified time for all items in the Feed Cache.
The feed queries
the Last Modified Time Cache to retrieve time stamp information and
metadata of recent activities.This information is then used as input to
query the Feed Cache to retrieve activity data.The requested
Microblogging feed is then constructed by using the activity data
retrieved from the Feed Cache.
How are Feeds Stored - Some activities are saved to the content databases. If the activity is a user activity or site activity, the activity is saved to the My Sites content database. If the activity is a site feed activity, the activity is saved in the team sites content database. Tags and document activities are not saved to content databases.
Responses
3 Respones to "How are NewsFeeds Created and Stored in Sharepoint 2013"
I noticed in PowerShell a users mysite has a list called "publishedfeedlist". This list stores the newsfeed items.
I was wondeirng if this could remove the users comments:
$user = get-spsite https://my.url.com/personal/first_last
$userweb = $user.rootweb
$list = $usersweb.Lists | where-object {$_.EntityTypeName -ilike "publishedfeedlist"}
$offendingcomments= $list.items | where-object {$_.XML -ilike "*UNIQUE TEXT HERE, ALL MATCHES WILL BE DELETED*"} | fl -prop ID,XML
$offendingcomments.Remove() #removes the data
$list.update()
$userweb.update()
$user.update()
Have not tested it, and I am not sure if its best practices. Variables might need to be discarded since web.open was not used, etc.
7 August 2013 at 17:11
FYI, Your captcha iframe is too small, users have to tab around to publish a post.
7 August 2013 at 17:12
Good script but needs some modifications
8 March 2017 at 01:11
Post a Comment