Stefan Goßner

Senior Escalation Engineer for SharePoint Products and Technologies

Channel based ASP.NET output caching for user web controls

ASP.NET output caching is a mandatory feature for all high performance Web sites. MCMS extends the ASP.NET output caching to allow caching of content based on (e.g.) the Posting and User Context. To allow this MCMS adds new token strings which can be configured using the VaryByCustom property of the OutputCache directive. Here are some samples… Read more

Retrieving Mail and Name of a MCMS user

MCMS 2002 only offers you the login of the current user. Not the Name or Email address. In some situations – like Email notification – it is necessary to get the Email address and other information which is stored in Active Directory. The sample code below allows to read this information from Active Directory. You… Read more

Workaround for a design limitation

The publishing API for MCMS 2002 has several design limitations. A workaround for one of these design limiations will be discussed in this article. The API contains a method to create a new channel but it is missing the functionality to also create custom properties in a channel. This is even more worth due to… Read more

Stefan’s FAQ is back again!

Hi all, the legal issues with my MCMS website are now resolved and the FAQ page is up again! Together with Steve Cawood I have managed to develop a downloadable CHM version beside the standard Html version. You should check out both and decide which one to use. Both versions will be updated frequently. Link… Read more

Monitoring Workflow events

I received lots of questions in the past about problems with workflow events. To understand what can be done in a workflow event it is helpful to know the sequence the events are fired during save, approve and any other action. The code below can be added to the global.asax.cs and will then track all workflow… Read more

How to use standard Toolbar dialogs in custom placeholder controls

MCMS 2002 offers a great flexibility and extensibility due to integration in the .NET framework and the ability to create custom console actions, rich controls and most important: custom placeholder controls. MCMS 2002 already ships with 3 placeholder controls: HtmlPlaceholderControl SingleImagePlaceholderControl SingleAttachmentPlaceholderControl These placeholder control do not always meet the requirements of all users. But… Read more

Using Frames and IFRAMES on a template

When using an Frame or an IFRAME on a MCMS2002 template you will experience a strange problem when switching to authoring mode: You will receive a Javascript ‘permission denied’ error. This is a small issue in the coding of Console.js causing a Cross-Site-Scripting issue in framed sites.  When switching between presentation and authoring mode Webauthor trys… Read more