User Profile
mbaig23
Copper Contributor
Joined 9 months ago
User Widgets
Recent Discussions
Error while activating SharePoint enable reputation (Microsoft.SharePoint.Portal.ReputationHelper)
Hello folks , We are usingbelow lines to activate rating feature, but it is giving error. We dont see enough help on this topic. Assembly assembly = Assembly.Load("Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"); Type reputationHelper = assembly.GetType("Microsoft.SharePoint.Portal.ReputationHelper"); MethodInfo enableRatingMethod = reputationHelper.GetMethod("EnableReputation", BindingFlags.Static | BindingFlags.NonPublic); enableRatingMethod.Invoke(null, new Object[] { list, "Ratings", true }); Error : Please see the screen shot below.202Views0likes0Comments
Groups
Recent Blog Articles
No content to show