Geeks With Blogs
Reidar Husmo SharePoint from the trenches February 2012 Entries
Cheating at SharePoint presentations

Add a simple PowerShell script to your presentations to cache pages you're about to demo.

Posted On Monday, February 13, 2012 12:22 PM

SharePoint Powershell try catch gotcha
SharePoint 2010 developers love Powershell. It really is a huge step forward. If you still haven't started to use it, do so. But I got bit the other day, when I added a try-catch block to my code. See if you can spot it: Try { $legen = Create-Object Reidar.Husmo.AwesomeClass $legen.Dary(42) } Catch { "an error occurred" } As you no doubt immediately spotted, Powershell does not have a Create-Object. But the try-catch hides coding mistakes. There is no indication that things are not ok, not even "an ......

Posted On Monday, February 13, 2012 3:49 AM

SharePoint administration pages
A quick note - possibly "note to self" - about how you can add administration pages to central administration ("CA"). Start with an empty SharePoint project.Add a mapped folder - to Template/admin.Add an application page to this folder. This is a three step process; add the page, move it from the layouts folder (where Visual Studio decided that you really wanted it), and rename the namespace. Next you'll want to add this page to CA. Do this by adding a custom action group and a custom action. Cksdev ......

Posted On Monday, February 13, 2012 2:41 AM

Copyright © Norgean | Powered by: