Encouraging two-way communications

Share + Learn + Comment   Encouraging two-way communications

Discover our team’s valuable knowledge, experience, opinions, and advice. And let us know what you think!

Blog

  • SharePoint 2010 People Search: Phonetic Search Results

    I’ve been cursed since birth with a commonly misspelled name: Zach. Or is it Zack, or maybe Zac, or just Zak (this is of course, ignoring the more proper Zachary, Zackary, Zackery, Zachery, Zacharia, etc). With SharePoint 2007, that meant a lot of people had trouble finding me when using the People Search.

    SharePoint 2010 introduces a more robust, phonetic search. Now people can find me (and other people with commonly misspelled names like mine) more easily, so long as the name you're searching for sounds correct.

  • SharePoint 2010 Integration with Office 2010: Drag and Drop Files

    There are too many integration points with Office 2010 and SharePoint 2010 to list in a single blog post, but there’s one in particular that I’d like to highlight today: Drag and drop files when uploading multiple documents.

    We’re all used to the Office 2007 way of uploading multiple documents... select documents from a Windows Explorer like GUI.

    But now with Office 2010, there’s an improved drag and drop files screen that’s much easier and more intuitive to use:

    Of course, you have to have Office 2010 installed to use it.  :-)

  • SharePoint 2010 Health Analyzer

    There’s a new feature in SharePoint 2010 called the Health Analyzer. The Health Analyzer is a set of rules that are scheduled to run automatically and report on common SharePoint problems and best-practices, such as security, performance, configuration, and more.

    All of the rules the Health Analyzer uses are configurable, so you can modify the rules that are triggered so you aren’t alerted as frequently (or at all) if there is a rule you want to ignore. An example of a rule that you might want to reconfigure is the Accounts used by application pools or service identities are in the local machine Administrators group. Last week I blogged about configuring the User Profile Service, which requires you to add the Farm account to the local administrators group. Once that is configured, you will start to get alerts due to the rule above (the rule runs once a day, so it may take 24 hours before you are alerted). To modify the rule (or any Health Analyzer rules) go to Central Administration àMonitoring à Review rule definitions à select the rule you want to modify à Edit Item à and then modify the scope, schedule, or disable the rule definition.

  • New Feature in SharePoint 2010: Event Log Flood Protection

    There’s a new feature in SharePoint 2010 for suppressing repeating events and errors that are written to the Windows Event Log.  To configure it, go to Central Administration à Monitoring à Diagnostic Logging à Check the box for Enable Event Log Flood Protection.

    Note: Do NOT configure this if you are using Microsoft System Center Operations Manager, as there may be certain events triggered when multiple errors are written to the event log within a certain amount of time.  If the events are suppressed the triggers may not execute as designed, thus limiting the benefits of using System Center Operations Manager.

    For more information on Configuring Diagnostic Logging, see the Microsoft TechNet article below:
    http://technet.microsoft.com/en-us/library/ee748656(office.14).aspx

  • Enabling Web Analytics in SharePoint 2010

    SharePoint 2010 includes built-in functionality for web analytics reporting. This is a huge step forward from the usage analysis reporting that was included with MOSS 2007. Included in 2010 are various social aspects such as a web part to show users the most popular pages.

    To enable web analytics, follow these steps:

    1. Provision the State Service Application - From the Manage Service Applications page there is no option to create a new State Service Application, so I used the Configuration Wizard to create it
    2. Provision the Web Analytics Service Application
    • From the Manage Service Applications page, click New and choose "Web Analytics Service Application"

    • Choose an appropriate Service Application Name and Application Pool Name

    • Create and register a new managed account such as DOMAIN\svc_web_analytics
    • Type the server name of your database server and choose representative names for the staging and reporting databases

    • Select the required data retention period from 1-25 months and click OK
    • Once the Web Analytics Service Application has been provisioned, start the "Web Analytics Data Processing Service" and the "Web Analytics Web Service" from the "Manage Services on Server" page

    Note that it will take one day for any results to start showing up in the web analytics reports.

  • SharePoint 2010: CssRegistration's ConditionalExpression Property

    Sing Chan
    March 3, 2010

    In a previous post detailing the new SharePoint 2010 CssRegistration control, I mentioned that I did not know what the ConditionalExpression property did. Well, now I do!

    This property takes an Internet Explorer Conditional Comment. For example, if we wanted to link to a style sheet specific to IE 7 or greater, we can do this:

    <SharePoint:CSSRegistration Name="foo.css" ConditionalExpression="gte IE 7" runat="server" />

    The following markup would be emitted:

    <!--[if gte IE 7]>
    <link rel="stylesheet" type="text/css" href="foo.css"/>
    <![endif]-->
  • Configure User Profile Service Application and Configure Profile Import in SharePoint 2010 Beta/RC (Part 2 of 2)

    Configure Profile Import

    Now that the services are all started we can configure the profile import in SharePoint Central Administration.

    Open the Central Administration site and go to Application Management à Manage Service Applications.

    Select your User Profile Service Application, and go to Administrators.

    • Make sure the farm administrator account has full control.
    • Add the account you are signed in as (if different) with full control.
    • The search crawl account should also have the Retrieve People Data for Search Crawlers permissions, if you’re using a dedicated crawl account.

    Select your User Profile Service Application, and go to Manage

     

    Select Configure Synchronization Connections

    Select Create New Connection, and give it a name.  Configure the connection settings, forest name, account, and password.

    Select Populate Containers, and then select the domain or container you’d like to import.

    Select OK and wait for the connection to be processed.  The connection should now appear in the list.

    To start the import, go back to the Manage Profile Service page, and configure the Synchronization Timer Job, or click Start Profile Synchronization.

     

  • Configure User Profile Service Application and Configure Profile Import in SharePoint 2010 Beta/RC (Part 1 of 2)

    Configuring User Profile Service Application

    There are a few extra steps required to get the user profile service working after running the SharePoint 2010 farm configuration wizard.  All of these steps are documented on TechNet, but they can be missed easily and will cause your user profile service to not work.

    Before attempting to configure the profile import, make sure you’ve installed the following:

    • If using Windows Server 2008 R2, install the patch KB976462.
    • If using SQL Server 2008 with SP1, install Cumulative Update 2 (or higher – CU5 is out at the time of writing this post).

    Note: There are no patches needed if you’re using SQL Server 2008 R2 Nov CTPJ

    Once you’ve installed the patches (if applicable), make sure the farm administration account is a local administrator on the server the service application is running on.  Now you’re ready to start the appropriate services and configure your profile import!

    Go into Central Administration à System Settings à Manager services on server

    Start the User Profile Synchronization Service, and enter the password for the farm service account.  At this point you need to wait 5-10 minutes to ensure all the appropriate services start.

    After waiting 5-10 minutes, you can check services.msc to confirm that the following services are set to automatic and are started:

    • Forefront Identity Manager Service
    • Forefront Identity Manager Synchronization Service

     

    Once they are started, confirm that the User Profile Synchronization Service has successfully started in Central Administration à System Settings à Manager services on server.

     


    Part 2 will continue with Configuring Profile Import.

  • Creating SharePoint 2010 Permissions Levels

    If you're building custom solutions for SharePoint you probably have various types of users that are accessing the portal with all sorts of permissions on different containers, such as document libraries and lists etc. Quite often this means you need to create a custom level of access to the group and define what functions users are allowed to access such as item creation, editing, etc.

    Here is how to assign all of those settings programatically, so you can call them from the feature receiver when creating a site from your site template:

    1. First we create a custom permission level with the name and description and set of permissions you can find here.

    SPRoleDefinition role = new SPRoleDefinition();
    role.BasePermissions = SPBasePermissions.OpenItems | SPBasePermissions.EditListItems | SPBasePermissions.ViewListItems | SPBasePermissions.ViewPages | SPBasePermissions.Open | SPBasePermissions.ViewFormPages;
    role.Name = "My Role Name";
    role.Description = "My Role Description";
    rootWeb.RoleDefinitions.Add(role);

    Then we assign a set of permissions to an existing group in this case called MyGroup

    SPRoleAssignment roleAssignment = new SPRoleAssignment(rootWeb.SiteGroups["MyGroup"]);
    roleAssignment.RoleDefinitionBindings.Add(role);
    rootWeb.RoleAssignments.Add(roleAssignment);

    If you're reading this you probably spent about 10 minutes trying to find this particular code. Here is something I found very useful if you're developing for MOSS or SharePoint 2010: a great set of SharePoint snippets from CodePlex.

    This isn't just one-line-of-code-type snippets (well some are), but mostly these are really handy pieces of functionality, and it's really good to know it's out there when you need it.

    Cheers!

  • Synchronizing & Troubleshooting Social Ranking Data and SPList

    Larry Lau
    February 26, 2010

    I have just finished troubleshooting a SharePoint 2010 issue where the Ranking (0-5) field was not updated on a post list even after forcing the “Social Data Maintenance Job” and “Social Rating Synchronization Job” to run. 

    Problem #1:  The rating data is associated with the SPListItem by URL. Depending on how you access the site/item, rating web service may think you are voting on two different items.

    For example, the following URLs will take you to the same list item but the social DB will treat it as two different items, and the rating aggregation will seem incorrect to the end user:

    http://server /Lists/Posts/Post.aspx?ID=2

    http://server.domain.com/Lists/Posts/Post.aspx?ID=2

    Problem #2: If the alternate access mappings is not here for server.domain.com, the social rating synchronization job will fail with the following error when trying to update the rating data:

    Unexpected       RatingSync: Unexpected exception processing http:// server.domain.com,/Lists/Posts/3_.000. Error:System.IO.FileNotFoundException: The Web application at http:// server.domain.com/Lists/Posts/3_.000 could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.     at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)     at Microsoft.SharePoint.SPSite..ctor(String requestUrl)     at Microsoft.Office.Server.SocialData.SocialRatingManager.PropagateRating(SocialRatingAverage ratingAverage)

    Lesson Learned

    When using the social ranking feature in SharePoint 2010, also remember to do the following:

    1. define alternate access mappings up front
    2. define public URLs
    3. communicate to the user what URL will be used to access the site
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. Next page »

Please Upgrade Your Browser

This site's design is only visible in a graphical browser that supports web standards, but its content is accessible to any browser or Internet device.