A bit more than a month ago I presented at SharePoint Saturday Holland (SPSNL). Unfortunately I didn’t got to writing this post and providing my slide deck and demo. SPSNL was a great of SharePoint and I enjoyed it. Quite a bunch of national and international speakers gathered in Vianen. Thank you DIWUG for organizing [...]
All posts by Bram de Jager
In search of PowerShell environment variables
When working with PowerShell I’m searching for the same variables over and over again. Every time when I found them again I think the same “Oh yeah, I knew that!”. To minimize my search next time I thought about writing it down. First question, how do I use these variables? This is pretty straightforward. $Env:username [...]
Posted by Bram de Jager on May 1, 2012
http://bramdejager.wordpress.com/2012/05/01/in-search-of-powershell-environment-variables/
Hide “Fabulous 40” templates
The Fabulous 40 (a.k.a. Fab40 or Application Templates) are a set of 40 application templates for Windows SharePoint Services 3.0. These were installed on a lot of SharePoint 2007 environments. When upgrading to SharePoint 2010 these templates become a challenge. The sites based on the Site Admin Templates (.STP) will be upgraded. After the upgrade [...]
Posted by Bram de Jager on April 13, 2012
http://bramdejager.wordpress.com/2012/04/13/hide-fabulous-40-templates/
Wait for WSP solution to deploy
Trying to install a WSP solution via scripting and wanting to wait for the solution to be installed? This is a common scenario I’m facing quite a lot. Every time trying to find the script again, made me decide to blog about it. This PowerShell script checks if the solution exists in the Solution Store [...]
Posted by Bram de Jager on April 13, 2012
http://bramdejager.wordpress.com/2012/04/13/wait-for-wsp-solution-to-deploy/
Visio Services application development
Most people will know Visio as a client application for drawing diagrams like the Network Diagram, Floor Plan or Flowcharts. SharePoint 2010 introduced Visio as a server component with which diagrams drawn in Visio 2010 can easily be displayed within SharePoint and integrated into webpages. This article discusses the new Visio Services service application and [...]
Posted by Bram de Jager on March 16, 2012
http://bramdejager.wordpress.com/2012/03/16/visio-services-application-development/
Get features grouped by solution package
I needed an overview of all features related to their solution package. This can be achieved by using PowerShell. Because this could be useful for others as well, here is the script. Add-PSSnapin Microsoft.SharePoint.PowerShell -ea 0 foreach ($grp in Get-SPFeature | Group-Object SolutionId) { $sol = Get-SPSolution -Identity $grp.Name Write-Host $sol.Name ‘(ID:’ $grp.Name ‘), Count:’ [...]
Posted by Bram de Jager on March 13, 2012
http://bramdejager.wordpress.com/2012/03/13/get-features-grouped-by-solution-package/
Integrate Beyond Compare with Visual Studio Source Control
Like everyone else, I have my own preferences to configure my development environment. One of the tools I’m using is Beyond Compare. Besides the main features of the tool, I like the integration with Visual Studio and Visual Studio Team Foundation (TFS) the best and it’s really simple! But I always forget the command and [...]
Posted by Bram de Jager on December 21, 2011
http://bramdejager.wordpress.com/2011/12/21/integrate-beyond-compare-with-visual-studio-source-control/
Export WSP solution packages
When WSP packages are added to a SharePoint farm they are stored in the config database. This is done to ensure new servers added to the farm can be synchronized with the specific farm configuration including WSP solution package deployment. Because solution packages are stored in the config database, it’s possible to download/export the WSP [...]
Posted by Bram de Jager on November 30, 2011
http://bramdejager.wordpress.com/2011/11/30/export-wsp-solution-packages/
Approaches to migrating your service applications
While working my way through TechNet documentation, I came across this very interesting table! It describes supported methods for service application migration. The forth column shows the support for read-only database. You can find more information on read-only databases here: Run a farm that uses read-only databases (SharePoint Server 2010) [http://technet.microsoft.com/en-us/library/dd793608.aspx]. Service application Database Supported [...]
Posted by Bram de Jager on October 10, 2011
http://bramdejager.wordpress.com/2011/10/10/approaches-to-migrating-your-service-applications/
Display exceptions in application pages
SharePoint OOTB displays user friendly an error page to end users. As a developer we want the .NET error page displaying detailed information about the exception thrown. By updating the web.config file with the following parameters the detailed information is displayed. <configuration> <SharePoint> <SafeMode CallStack="true" /> </SharePoint> <system.web> <customErrors mode="Off" /> <compilation debug="true" /> </system.web> [...]
Posted by Bram de Jager on October 5, 2011
http://bramdejager.wordpress.com/2011/10/05/display-exceptions-in-application-pages/



