Stefan Goßner

Senior Escalation Engineer for SharePoint (WSS, SPS, MOSS, SP2010) and MCMS

Browse by Tags

Related Posts
  • Blog Post: How to unpublish a published content type if the published content type no longer exists

    One of my colleagues (Steffi Buchner) recently got a case where a customer deleted a content type hub and later noticed that some of the content types provided by this hub were already published. The problem is that the information about which content types are published is stored in the TermStore...
  • Blog Post: Do you have plans to write an Android App that communicates with Office 365?

    If the answer to the question above is yes, then the following announcement will be interesting to you: Microsoft unleashes Office 365 Android SDK for developers to play with Overview With the Office 365 SDK for Android Preview, it’s now possible to use data stored in Microsoft...
  • Blog Post: Office App Model Samples - Community solutions for SharePoint

    On Codeplex you can now find a bundle of very powerful App Model Samples for SharePoint. Although the title talks about Office currently most samples actually focus on SharePoint Apps. As of today samples for the following scenarios are covered: Cloud based site collection provisioning Creating...
  • Blog Post: How to copy list items with people and group columns between site collections using CSOM

    Recently I had to work on an issue where a user needed to migrate a list from one site collection to another in a different site collection. He used CSOM for this but was challenged by the fact that the list also contained several people and group columns which cannot just be copied over to the new site...
  • Blog Post: Using synchronous "after" events (e.g. ItemUpdated) in SharePoint 2010

    SharePoint usually fires two different events for each operation: a "before" event which fires before the operation has been performed and an "after" event which fires after the operation has been performed. The before event is always raised on the same thread as the operation itself and allows to...
  • Blog Post: Interesting SPWeb leak pattern with Areas in SPS 2003

    Recently I came across another very interesting coding pattern which is very similar to the interesting SPSite leak I showed a couple of days ago. public void workOnArea(Area area) { if ( area.Web != null) { string url = area.Web .Url; area.Web .Dispose(); } } On a first look the code look ok,...
  • Blog Post: Documented / Undocumented API - Why Should I care? - Part 1

    Part 1 - Technical Background I assume you often heard the statement: "Don't use undocumented API calls". And you might often have thought: "Why not? There are so powerful features under the surface of the documented API! I want to use them!". This article should give you some ideas what could happen...
  • Blog Post: Solving the "ugly" URL issue for Mac clients - Last Updated: June 22nd, 2006

    I have already posted two articles about how to solve the "ugly" URL problem. In the last article I discussed a solution based on a custom http module which does all the necessary checks and adjustments. But one issue is still unsolved: Internet Explorer on Mac has an ugly bug then whenever the "action...
  • Blog Post: SharePoint 15 Technical Preview Managed Object Model SDK available for download

    This download contains the following developer documentation: SharePoint 15 Technical Preview Managed Object Model SDK: This compiled help (.chm) file contains reference topics focusing only on types and members that are called by other Microsoft applications. This reference does not document the...
  • Blog Post: Enumerating Posting and Channel properties

    Have some of you have also been bothered by the fact that MCMS does not provide an enumeration method for Posting and Channel properties? Or for some of the other MCMS objects like Resources, Resource Galleries, Template or Template Galleries? Such a feature would be pretty interesting if you (e.g.)...
  • Blog Post: My Code Samples (previously hosted on GotDotNet)

    As some of you already noticed: GotDotNet is now down and the code samples previously hosted there have been migrated to the MSDN code gallery. For your convenience here is an overview page of all the code samples which now link to the new location
  • Blog Post: First issue with SPDisposeCheck has been identified by the community

    One day out and we already have received feedback about a problem with SPDisposeCheck. ;-) Here are the details: Code like the one below is not recommended as it disposes the RootWeb - that is correctly identified by SPDisposeCheck! public void DND_RootWeb() { using ( SPSite siteCollection...
  • Blog Post: Code Samples

    As some of you already noticed: GotDotNet is now down and the code samples previously hosted there have been migrated to the MSDN code gallery. For your convenience here are links to all my code samples: SharePoint CDInfo This tool allows to gather information about the configuration...
  • Blog Post: Another IFRAME issue with MCMS

    I previously wrote an article that discussed an issue that can occur if an IFRAME is part of the MCMS page. Today Angus pointed me to another issue that can occur if you need to display an MCMS site in an IFRAME of another site. For presentation mode there are no problems but as soon as you start doing...
  • Blog Post: How to retrieve the current context from a posting object

    I received the question if it is possible to get the current active context inside a custom placeholder definition. This is not the same as within a placeholder control as a placeholder control always uses the CmsHttpContext. A placeholder can live without the CmsHttpContext (e.g. in a CmsApplicationContext...
  • Blog Post: 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...
  • Blog Post: How to programmatically retrieve the root site of a Variation

    The Admin UI of the site collection provides easy access to the variation settings. But the object model does not provide easy access to these settings. There are many scenarios where it would be (e.g.) very interesting to know which site is the root site of the variation. The solution for this problem...
  • Blog Post: A more elegant solution to avoid ugly URL's with MCMS

    Today I played around a little bit more with HttpModules and implemented a more elegant solution for the problem as discussed in my previous post . Especially the second problem - normal postback caused by ASP.NET controls - was not properly solved as it required to do the modification on every template...
  • Blog Post: Code to strip out <p> tags in empty placeholders

    Once in a while the question how to strip <p> and <span> tags in empty placeholders comes up in the newsgroup. A solution would be to implement a custom placeholder control that removes these tags or a workflow event. The simplest solution is a workflow event to do this. This event...
  • Blog Post: Creating scalable applications using the CmsApplicationContext

    MCMS context objects are not really designed for long running scenarios. Usually long running application need to take care on releasing unused resources and do housekeeping. Unfortunatelly MCMS context objects do not have such features implemented. Allocated resources are only released when the MCMS...
  • Blog Post: SharePoint 2007 and WSS 3.0 Dispose Patterns by Example

    A couple of weeks ago I wrote an article which explains how to deal with memory pressure situations in MOSS/WSS . Roger Lamb has now created an article which discusses one of the issues - missing Dispose() or Close() for SPWeb, SPSite and PublishingWeb objects. When to dispose and when not to dispose...
  • Blog Post: Customizing the SharePoint 2013 Developer Dashboard using custom scripts

    The Developer Dashboard has undergone some significant changes in 2013. E.g. it is now running in a separate browser window and also allows to show ULS log entries related to the current request. The following article gives a brief overview of the new functionality: http://blah.winsmarts.com/2012...
  • Blog Post: Now Available: Office Developer Tools for Visual Studio 2012

    Yesterday we released the Office Developer Tools for Visual Studio 2012. The Office Developer Tools for Visual Studio 2012 provide broad and deep support, ranging from new templates to new designers to a whole host of integrated lifecycle tools. They enable developers to create, edit, test, debug...
  • Blog Post: 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...
  • Blog Post: Deep Dive into the SharePoint Content Deployment and Migration API - Part 4

    [ Part 1 - Part 2 - Part 3 - Part 4 - Part 5 - Part 6 - Part 7 ] Advanced content deployment scenarios Till now we have covered export and import of single list items or documents containers like folders, lists or webs complete site collection What we haven't covered is how to...