Hot answers tagged

10

So, after a few weeks on and off trying to figure this one out, having no luck with any replies on any forum, I just thought I would have a look at how the UI page was doing this. (Why didn't I think of this earlier?!) That's when the property EnableMetadataPromotion showed up. Having this keyword to search for, it didn't take me long to google the missing ...


5

Make sure the socialribboncontrol feature is activated. It should already be. User profiles and my sites have to be setup too. When you click I Like It, the item (list, page etc) is added to your profile page in mysites for others to see. Here is how to setup the user profile service. Here is how to setup My Sites.


5

I know "I Like it" and "Tags & Notes" is coming from a FEATURE called SocialRibbonControl More information here: http://technet.microsoft.com/en-us/library/ee721062.aspx You can check what commands are executed by looking at: SocialRibbonControl\SocialRibbonControl.xml file. The commands referred in this xml file are mostly in SP.UI.SocialRibbon.JS ...


5

I found a solution: You must renew the HttpContext. int number; SocialComment[] comments = null; SPSecurity.RunWithElevatedPrivileges(delegate { using (SPSite esite = new SPSite(SPContext.Current.Site.ID)) { var ctx = HttpContext.Current; try { ...


5

You can use Rating feature for you post in blog. In order to do this, click Manage Post > List Settings > Rating settings and then choose Yes under Allow items in this list to be rated?


4

there is Tags and Notes support in 2010 std/ent (based on Managed Metadata Service): http://mscerts.programming4.us/sharepoint/sharepoint%202010%20%20%20viewadd%20notes%20to%20a%20document%20or%20list%20item.aspx


4

You need to deploy the User Profile Service Application. Within there you need to configure MySites (http://technet.microsoft.com/en-us/library/cc262500.aspx) Update: Additional details provided in comments: You need to have the MySite host accessible to the FBA users. If they are getting a 404, then I don't believe the MySite Host has been deployed. The ...


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 ...


4

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

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 ...


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/ ...


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

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 ...


3

// 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("&"); ...


3

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 ...


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

Privacy and security implications of social tagging (SharePoint Server 2010) can help you some understanding as to how the security trimming worked on Notes web part. Following is taken from it: Security trimming Adding a tag, a note, or a rating to a Web page creates an activity. Before SharePoint Server displays an activity, it uses a component ...


2

I've put some thought into this request before, and again today when I read your post here. The problem is that the API does not support this type of lookup. Its unfortunate, and a glaring gap in the current product. As John Chapman mentioned, if you were to iterate through every profile in the system it is likely to take awhile and will not scale well. ...


2

Sandbox does not allow the Microsoft.SharePoint.Taxonomy.dll so it will not be straight forward to access the termstore or social tags. Hovewer, you can use SPQuery to access the values in a Managed MetaData column.


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 ...


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

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

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

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

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 ...



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