This is one of those blog posts that I cannot take credit, but want to keep the information handy for a later time. The SPSecurityTrimmedControl shipped with WSSv3 is a very powerful control. It basically allows you to conditionally display content depending on the user’s permission. Thanks to Waldek for his post on conditional security [...]
Archive for the ‘Everything’ Category
SPSecurityTrimmedControl
Posted in Everything, Software Development, tagged Microsoft SharePoint on April 14, 2008 | Leave a Comment »
Vista MCE and HD – At Last
Posted in Everything, Gadgets and Tech, tagged HDTV, Windows Vista on March 31, 2008 | 11 Comments »
Recently – I finally decided to take the plunge with Vista Media Center Edition and High Definition Cable TV…. I’ve been a fan of MCE for some time, and up until February this year I’d been using Vista MCE with a standard analogue cable line into a dual receiver Hauppauge tuner card and doing relatively [...]
Prolific PL-2303 Driver – Vista x64
Posted in Applications, Everything, tagged Windows Vista on February 8, 2008 | 18 Comments »
I purchased a USB to RS232 Serial cable so I could hook up my GPS unit to my laptop and found out that installing the driver on Vista 64 was problematic. Disabling driver signing verification with the following command at an elevated prompt, followed by a reboot, enabled me to install the driver. BCDEDIT.EXE /SET [...]
SharePoint Identity
Posted in Everything, Software Development, tagged Microsoft SharePoint on January 25, 2008 | 5 Comments »
SharePoint user identity is sometimes confusing for developers…. When connecting to external resources (like a SQL database via BDC) what user identity does SharePoint use? How does SharePoint impersonate when using forms-based authentication? What’s the difference between a Windows user and a WSS User? What is SPSecurity.RunWithElevatedPrivileges? It’s questions like those above the can often [...]
Custom XML Feeds in IE7
Posted in Applications, Everything, Software Development, tagged Microsoft Internet Explorer on January 22, 2008 | 2 Comments »
I often find myself writing custom XML generators in ASP.NET using Http Handlers. To test my code I want to open my browser and render the XML – naturally. In the days of IE6 all was good – I could render the XML and Internet Explorer would show me a nicely formatted view of my [...]
SharePoint Custom Content & Structure Report
Posted in Everything, Software Development, tagged Microsoft SharePoint on January 9, 2008 | 2 Comments »
I came across some really cool functionality in SharePoint 2007 today…. One of my clients has a deep hierarchy of sites and pages maintained in SharePoint – this hierarchy drives content management for their web site. Most of the publishing pages on their site have an embedded boolean field, called “Appear on Home Page” as [...]
"Submit" ASP.NET and SharePoint
Posted in Everything, Software Development, tagged ASP.NET, Microsoft SharePoint on January 2, 2008 | 2 Comments »
One of my developers and I ran into an interesting problem today – we’d migrated a web site over to SharePoint 2007 (using a popular content migration tool) and found that all page postback calls in SharePoint were giving JavaScript errors, specifically: Object doesn’t support property or method. Turns out that our master page and page [...]
Visual Studio 2008
Posted in Everything, Software Development, tagged Visual Studio on December 31, 2007 | 3 Comments »
I finally got around to installing VS2008 RTM today – wow what a marathon! 4 hours after I started, I finally had 2008 installed and working. I was running into problems installing Microsoft .NET 3.5 .NET Framework – both from VS2008 installer and when I attempted to install the framework as stand-alone. Vista adds complication to [...]
SharePoint Designer and SharePoint Out of Sync
Posted in Everything, Software Development, tagged Microsoft SharePoint on December 14, 2007 | 10 Comments »
If you ever find yourself in a situation where SharePoint Designer insists that a master page, page layout, or CSS file is checked out and the same file in the SharePoint Gallery is shown as checked in then there is a problem with your SPD web cache. Attempting to check the file in through SPD [...]
MOSS – Save Publishing Site as Template
Posted in Everything, Software Development, tagged Microsoft SharePoint on December 12, 2007 | 2 Comments »
Those of you who like to use the “Save Site as a Template” functionality in SharePoint might wonder where the option disappeared to; when the site you have in mind for your template is a Publishing Site (Web Content Management)… The official word from Microsoft is that this functionality is not supported for publishing sites [...]
