Dave Burke : Freelance .NET Web Developer specializing in Online Communities

CS Nuglet: App query string change in CS2008.5 SP1 Mediagalleries

Upgrading a customized Community Server site is always a real pain-in-the-ass an exciting adventure, because you never know where you'll find a new reaming opportunity to learn something new!

The client sites I upgraded from CS2008.5 to CS2008.5 SP1 today were only moderately customized.  They did contain several original pages and custom Chameleon controls that require knowledge of their context, like all Chameleon controls do.  If the control doesn't know its context you get something ugly like a null exception when you need an application object.


 

One of the ways to establish context is with an ?App=$1 query string specified in the SiteUrl.config url vanity property.  The SiteUrl_Override.config urls for my original pages based on the ?App= query logic no longer knew their context because the App query string did not exist, because CS2008.5 SP1 now uses ?GalleryApp=$1 instead.

Below you can see the CS2008.5 version is in red and the SP1 new in blue (kinda like the recent election results.)


Comments (0) | Post RSS RSS comment feed

Posted on 11/11/2008 2:34:42 PM by Dave Burke
Categories: Community Server
Tags: No tags for this post

Related posts

Comments are closed

This site was built with the Sueetie .NET Online Community Framework. Learn more about Sueetie at Sueetie.com.