Hot answers tagged

8

Try creating a permission policy for your web application on Central Administration followingly: On Central Administration, navigate to Application Management -> Under Web Applications: Manage web applications Select your My Site -web application by clicking it, and open Permission Policy Click Add Permission Policy Level Enter at least the Name for your ...


6

This script goes through the hierarchy and disables the Following Content feature in every WebSite. You get an error message for every site where the feature is not active or missing. This can be ignored $w = Get-SPWeb http://MySharePointURL | ForEach{ $_.URL } Get-SPFeature -Web $w |%{ Disable-SPFeature -Identity "FollowingContent" -URL $w -Confirm:$false} ...


5

How to customize SharePoint Blogs using client-side rendering (CSR) Since the client side rendering (CSR) is the default rendering mode in SharePoint 2013, below is demonstrated how to override Body field in such a way that the link for the post will be displayed via CSR. And the resulting page could look like this Example: how to override ...


4

There are also some great 3rd party tools if you have the budget for them. My company implemented Newsgator www.newsgator.com which sits on top of SharePoint and it has increased our cross-office collaboration 3-fold. SharePoint 2010 gives you a base platform but is still missing a lot from the social perspective.


4

The Ratings setting is stored as a property of the root folder of a list. In PowerShell you can do this: $web = Get-SPWeb http://site $list = $web.Lists["Documents"] $list.RootFolder.Properties["Ratings_VotingExperience"] = "Likes" // Value can be “Likes” or “Ratings” $list.RootFolder.Update() In code, you can do: using (var site = new SPSite("http://...


4

// Replace the siteUrl placeholder value before you run the code. var siteUrl = "https://domain.sharepoint.com"; var followingManagerEndpoint; // Get the SPAppWebUrl parameter from the query string and build // the Following manager endpoint. $(document).ready(function () { var appweburl; var params = document.URL.split("?")[1].split("&"); ...


4

This script goes through the hierarchy and disables the Following Content feature in every WebSite. You get an error message for every site where the feature is not active or missing. This can be ignored $w = Get-SPWeb http://MySharePointURL | ForEach{ $_.URL } Get-SPFeature -Web $w |%{ Disable-SPFeature -Identity "FollowingContent" -URL $w -Confirm:$false} ...


3

Ok I found the solution with this modified xml I did achieve expected results: <CustomAction Id="Ribbon.ListItem.TagsAndNotes.NewLike" Location="CommandUI.Ribbon" Title="New version of I Like It"> <CommandUIExtension> <CommandUIDefinitions> <CommandUIDefinition ...


3

I was experiencing the very same issue with SharePoint 2013, and I believe I have found the culprit. Short answer - go to your site features and disable the Minimal Download Strategy feature. Details: SharePoint 2013 has implemented something called the Minimal Download Strategy (MDS). At a high level, this new feature (yes its a SharePoint feature that you ...


3

I can confirm that this is the behaviour. And I do not see a way to configure/override this at the moment. Therefore I would log a case with MS support to see if this can be made configurable. Some blogs to confirm this: http://www.jeremythake.com/2013/01/the-current-state-of-sharepoint-2013-social-collaboration/ http://social.technet.microsoft.com/Forums/...


3

As per the Microsoft KB articles, which applies to all SharePoint Versions, always against direct access to SharePoint database. here are the supported scenarios: Supported database modifications Exceptions to the prohibition against database modifications are made for specific usage scenarios: Operations that are initiated from the SharePoint ...


3

Had the same problem, found this here (worked for me): If you have credential for account who has rights on site then, by simply hitting below URL, you can have prompt to login prompt. http:/serverurl/_layouts/closeConnection.aspx?loginasanotheruser=true


3

Discussion content type seems to be very fragile. Reputation mechanism started failing when I added the Enterprise Keywords column to this content type. While in this context, discussion counters where not updated and as soon as I removed the column, expected behavior came back. Some other remarks: discussion counters will not decrease if the posts are ...


3

To add only like feature, It is needed to add two site columns in the list. Site columns are: LikesCount which GUID ID is 6e4d832b-f610-41a8-b3e0-239608efda41 LikedBy which GUID ID is 2cdcd5eb-846d-4f4d-9aaf-73e8e73c7312 Following is the code using(ClientContext clientContext = new ClientContext(targetSite)) { clientContext.Credentials = ...


2

We've implemented social enterprise around Comunities (building sites where people post articles, coment and rate), Social-Insight (e.g. how to benefit from Knowledge in-house by enabling communication and more synergies). Achievements (take example of this site, MSDN forums) - via Activity feeds, Daniel McPherson give a great example (http://www.slideshare....


2

We used SharePoint blogs in the past and faced a similar problem: Although someone follows the blog website this does not mean that this person will get any newsfeed updates (for instance, when someone creates a new blog post). In SharePoint you only get newsfeed updates when you follow the person who creates the blog post. This does not make sense sometimes ...


2

In case of SharePoint 2010, you can edit your master page with Designer. Find the following node: <td class="s4-socialdata-notif"> <SharePoint:DelegateControl ControlId="GlobalSiteLink3" Scope="Farm" runat="server"/> </td> Then add another td before or after this one. For instance, this is what I ...


2

Just use SetLike method. You can also do it via client object model (JavaScript), I think it's prettier. Sample.


2

Get-SPTimerJob | Select DisplayName, Name | Sort Name Will get you all installed timer jobs The two in question are called User Profile Service Application - Social Data Maintenance Job (User Profile Service Application_SocialDataMaintenanceJob) User Profile Service Application - Social Rating Synchronization Job (User Profile Service ...


2

I think you cannot. Everything turns around the user. The only way now I can figure out is to fetch each user profile and using SPSocialActor class getting if site is followed by that user. If the site is followed you can add the user to a list of users (List) with properties as imgUrl, name, surname, etc. Try this (I have not tested it) but I am not sure ...


2

This happens because Reputation.SetLike method internally uses SPContext.Current.Web object to get the list. And SPWeb object which you opened could be different from SPContext.Current.Web object. Example:If you run your code on subsite then SPContext.Current.SPWeb object is subweb but SPWeb object which you open in your code is root site web. I found a ...


2

Unfortunately, you can't. E-mails are formed in internal SharePoint libraries, and mail text and colors are hardcoded. Some explanations and technical details: If you open html source of any of this e-mails, you'll see style tag with content a { color: #0072bc; text-decoration: none; } You can just search this text with reflector in SP assemblies. This ...


2

firstly @mentions, these are people your following to use this feature.... if your not following or have none and carry on typing than it would go onto show everyone in forrest/domain that is configured to that web application! if you cant see users within the everyone than there is an issue with your forrest/domain not included within the webapplicaiton.. ...


2

Ali was on the right track in blaming the people picker. I stumbled across this code today completely by accident but it has corrected my problem. The network where these systems reside has chronic issues with NetBIOS and WINS so this did not surprise me at all. Users in any domain in the trusted forest receive a "No exact match was found" People Picker ...


2

You have to use SPSocialFollowingManager to follow a user to document/site etc in Server Object model. Below is a code snippet how to do it. //Get the UserProfile for user SPServiceContext serverContext = SPServiceContext.GetContext(properties.Web.Site); UserProfileManager profileManager = new ...


2

I'm not sure if your problem still persists, but since I ran into the same issue I'll answer your question to help anyone else. The issue is based Security Trimming in the field of Social Tags & Notes. You'll find several blog posts on this topic like this one. It helped me to identify that I had to "Setup My Sites" which you can find under "Central ...


2

A user's followed sites are stored within their personal site collection (i.e. their my site). By default, only the users themselves have access to their personal site collections (they are the primary site collection administrator). This is why the call to SPSocialFollowingManager.GetFollowed() isn't returning any SPSocialActor objects--the current user ...


2

There are two main approaches to social features in SharePoint: OOTB social features and Yammer. SharePoint OOTB Social There's a big hub about social collaboration in SharePoint on TechNet, including overview video. To summarize, SharePoint has quite a number of social features OOTB: SharePoint users can follow sites and each other; SharePoint users ...


2

Here is a similar Question and I answered there. Liking a discussion board list item We have an OOTB JS library "reputation.js". Load the Library and call the function Microsoft.Office.Server.ReputationModel.Reputation.setLike to like/unlike a list item. Other source here. Do not forget to upvote Vadim Gremyachev's answer if helped.


2

Follow button on SharePoint site do have some different behavior for permissions as it is getting it from SQL directly using Application identity Pool. There are some PowerShell commands to be followed after giving the permissions to allow user clicks on Follow button. Please check below article which explains the same issue: Link below SharePoint 2013 ...


Only top voted, non community-wiki answers of a minimum length are eligible