Monday, February 28, 2011

Search suggestions in SharePoint 2010

One of the new features for end users with SharePoint 2010 is that suggestions are provided while you are typing a search query - for a complete list of enhancements - check out – What’s new in Enterprise search(SharePoint Server 2010) . Now if you want to force these suggestions for demo scenario’s you can use some powershell scripts – the next code sample is meant to be used in a setup with Fast Search 2010:

$SearchApp = Get-SPEnterpriseSearchServiceApplication "FAST Query SSA"
New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $SearchApp -Language En-Us -Type QuerySuggestionAlwaysSuggest -Name "SharePoint"
New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $SearchApp -Language En-Us -Type QuerySuggestionAlwaysSuggest -Name "SharePoint Server 2010"
Start-SPTimerJob -Identity "Prepare Query Suggestions"

Monday, January 10, 2011

Collaboration, Enterprise 2.0, Knowledge Management NextGen and digital marketing

One of my predictions for 2011 is that we will finally witness the boom or bust of social media apps within the enterprise for the Belux market. Here’s some background info that might get you thinking

This is one of my pet peeves  about which I have written a couple of blog posts:

Web Content Management in SharePoint 2010 – some random links

Mental reminder – check out this collection of links about Web Content Management in SharePoint 2010

Porting oAuth with Silverlight for Windows Phone 7 to RTM version

Recently I stumbled upon this interesting blog post Windows Phone 7 with Twitter which showed how to use oAuth on Windows Phone 7 but it was unfortunately built with the beta versions of Windows Phone 7. As an exercise I decided to upgrade the code to get it to work with the RTM release.

Some things which needed fixing or which bugged me during the upgrade

  • You will need to remove references to Microsoft.Phone.Controls, Microsoft.Phone.Controls.Navigation, Microsoft.Phone.Controls.WebBrowser, Microsoft.Controls.WebBrowser.interop. Don’t forget to to change the namespace declarations in the XAML files as well.
  • Add a reference to Microsoft.Phone assembly – all the previous dll’s have been combined into one dll.
  • Be carefull about some changes in the APIs - WebBrowser is now a sealed class. You cannot inherit from it. IsScriptEnabled, Source, and Base are now dependency properties. NavigatedEventArgs change to NavigationEventArgs.

  • Changes have been made to WMAppManifest.xml - http://10rem.net/blog/2010/09/16/announcing-the-windows-phone-7-release-wp7-silverlight-toolkit-and-xna-40 – you can find this xml underneath the properties folder in your project

    This will probably get you going … have fun

  • Tips to get the Social sample for SharePoint 2010 to work

    There’s an interesting code sample that you can download from MSDN called SharePoint to LinkedIn Connector which is part of the Microsoft SharePoint 2010 SDK. Here’s a number of extra steps that I took to get it to work on my SharePoint 2010 dev box.

    Some tips:

    • I needed to add a reference to Microsoft.SharePoint.ApplicationPages.dll assembly – you can find it underneath C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\ADMINBIN.
    • It has a hard coded reference to http://mysite in the feature activated event receiver – don’t forget to change that.
    • During deployment I got an error stating - “No User Profile Application available to service the request. Contact your farm administrator.” – thankfully Steve to the rescue – “No User Profile Application Available Mystery” in SharePoint 2010

    After that everything worked smoothly.

    Friday, December 31, 2010

    Code profiler for Windows Phone 7

    EQATEC  has recently release comes a code-profiler that can profile your WP7 Silverlight app on real phone hardware, as well as on the emulator. The profiler is free for single-assembly applications. You can download it now from www.eqatec.com.

    For more info check out Channel 9 – World’s first profiler for Windows Phone 7 or the Eqatec  profiler website.

     

    Thursday, December 30, 2010

    Crop the webbrowser control in a Windows Phone 7 app

    When building my Windows Phone 7 app – I needed to login into LinkedIn – unfortunately the login page of LinkedIn does not seem to scale as well as the Twitter login page so I decided to only show a specific part of the page within the WebBrowser control for Windows Phone. I kind of got it working by using the Clip property (for reference see How to: Crop an object (Silverlight))

    <phone:WebBrowser HorizontalAlignment="Stretch" 
    Name="webBrowser1" VerticalAlignment="Stretch" Height="466" Width="480"
    IsScriptEnabled="True" Visibility="Collapsed">
    <phone:WebBrowser.Clip>
    <RectangleGeometry Rect="0,0,400,300" />
    </phone:WebBrowser.Clip>
    </phone:WebBrowser>




    Thursday, December 16, 2010

    Windows Phone 7–Solving the missing dll issue in Training Kit Lab–Using Pivot and Panorama controls

    The lab Using Pivot And Panorama Controls seems to be missing file that supports the reference to the Syndication namespace - System.ServiceModel.Syndication.dll . You can copy that one over from the install directory of the Silverlight 3.0 SDK (C:\Program Files (x86)\Microsoft SDKs\Silverlight\v3.0\Libraries\Client).  You can ignore the warning message when adding the dll – everything will work correctly.

    Thursday, December 09, 2010

    Slidedecks BIWUG on SPS2010 WCM and FAST Search 2010 available

    Thanks to the people who showed up on the december 2th BIWUG session despite 600 km of traffic jams  - the slide decks are now available only:

    Also thanks to Sven and Pieter for delivering their presentation.

    Monday, November 15, 2010

    SharePoint Server 2010 Capacity Management– talking about software boundaries and limits

    Some interesting stuff about software boundaries and limits in SharePoint Server 2010 – take a look at the table below. You should make a distinction between hard limits (which you simply should not exceed) and soft limits – which are a sort of recommendation.

    Soft limits    
      2007 2010
    Content DB Size 100 GB 200 GB
    File Size 2 GB 2 GB
    DB’s per web app 100 300
    Site collection size 100 GB 100 GB
    List items per view 2000 5000
    Application Pools 8 per web server 10 per web server
    Managed Paths 20 per web app 20 per web app
    Documents in a library   30 million with nesting. Depends heavily on usage and size of the documents
    Indexed items in search 50 million 100 million

    There is also a Technet article – SharePoint Server 2010 Capacity Management: Software Boundaries and limits – which provides some additional guidance – this also puts the numbers listed above a little more in perspective.

    Content database sizes up to 1 terabyte are supported only for large, single-site repositories and archives with non-collaborative I/O and usage patterns, such as Records Centers. Larger database sizes are supported for these scenarios because their I/O patterns and typical data structure formats have been designed for, and tested at, larger scales.

    For a full overview of the different white papers  - check out SharePoint Server 2010 performance and capacity test results and recommendations.

    In general the new scale targets for 2010 go above and beyond the ones set in 2007 but design is still important although it becomes more difficult to bring a farm down by just putting millions of docs in one library – check out It looks like you’re building a large library. Would you like help? as well as Working with large lists in SharePoint 2010 – List Throttling .

    Happy SharePoint-ing

     

    Wednesday, November 10, 2010

    BIWUG Session on SharePoint 2010 and FAST Search Server 2010 on December 1th

    Agenda

    18:00-18:30 Welcome with sandwich lunch

    18:30-19:30 Building a public website with SharePoint Server 2010 – a practical case – www.vib.eu

    19:30-19:45 Break

    19:45-20:45 Introduction to FAST Search Server for SharePoint 2010

    Location: RealDolmen, Industriezone Zenneveld, Vaucampslaan 42, 1654 Huizingen, Belgium

    Registration is now opened on the BIWUG site www.biwug.be

    Tuesday, November 09, 2010

    SharePoint 2010–Training videos overview

    SharePoint 2010 on Chopsticks Belux

    SharePoint 2010 Connections event

    SharePoint 2010 Advanced developer training

    TechEd 2009 Videos

    SharePoint 2010 – Visual How to’s

    Big Bang Theory and Information Management videos

    MVP for another year

    About a month ago I found out that I have been renewed as SharePoint Server MVP. For people who don’t know what a MVP is– here’s Microsoft’s definition:

    “This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in SharePoint Services technical communities during the past year.”

    I became an MVP in 2005 and have been working with the Belgian SharePoint community ever since – it has been a great experience and I look forward to the next year.

    Rational Guide to Multi tenancy in SharePoint 2010

    Spence has an interesting series of articles about multi tenancy in SharePoint 2010 – a must read

    Monday, November 08, 2010

    Quick Tip–Accessing guest from host with VMWare Workstation

    Most SharePoint 2010 developers probably use VMWare workstation (or Virtualbox). But what if you needed to access your SharePoint 2010 environment running in a VM from your host environment? I actually needed this to write a Windows Phone 7 app for SharePoint Server 2010 and since I can’t install the Windows Phone Developer Tools on Windows Server 2008 – I decided to use the install on my Windows 7 host and access SharePoint 2010 from there.

    Quite easy – just change network settings to use VMWare Network Adapter VMNet1 (Host only) - A private network shared with the host - this way you can access the host from on your guest OS.

    Technorati Tags: ,,

    Overview of SharePoint 2010 powershell cmdlets

    Ever wondered how you can quickly generate an overview of the available Powershell commandlets for SharePoint 2010? Try the next command:

    Get-Command –PSSnapin “Microsoft.SharePoint.PowerShell” | select name, definition | format-list > C:\SP2010_PowerShell_Commands.txt

    Tuesday, October 05, 2010

    BIWUG Presentations september 2010 online

    The presentations from the BIWUG session in september 2010 are available on www.biwug.be in the meeting presentations document library :

    I would like to thank the people from Quest for providing the excellent location as well as our two speakers – Fouad and Karine.

    Thursday, September 23, 2010

    SharePoint Server 2010 “System.ServiceModel.EndPointNotFoundException” in OWSTimer.exe

    If you get this error on your SharePoint Server 2010 development machine – ""System.ServiceModel.EndPointNotFoundException” in OWSTimer.exe – then you probably need to manually start the ForeFront Identity Manager Service – it did the trick for me …

    SharePoint Stef provided the solution (and additional explanation) in his blogpost – SP2010 “System.ServiceModel.EndpointNotfoundException”.