in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Tobias Zimmergren's thoughts on development - MOVED!

THIS BLOG HAS MOVED!!!
NEW URL: www.zimmergren.net
Please update your RSS and bookmarks!

Any comments here will not be answered, please comment on http://www.zimmergren.net instead!
All the same posts are there

December 2006 - Posts

  • A reflection tool for SP 2007, SharePoint Inspector

    The last couple of days I havn't came across anything interesting to blog about, since I've been busy with alot of other projects. However, I recently stumbled into a blogpost linking to an application called SharePoint Inspector, which is described below.

    Quote from the author: (This tool can be downloaded from: http://community.gatweb.fr/files/default.aspx?Sort=Downloads)
    "SharePoint Inspector is a free tool to browse your SharePoint 2007 farm.
    When I talk about SharePoint 2007, I mean Windows SharePoint Services v3 (WSS v3) and Microsoft Office SharePoint Server 2007 (MOSS).

    Its main purpose is to help SharePoint developer
    You can see objects composing its structure, get their properties by reflection, which can be very useful when you want to check if your code does what it should do.
    You can use also some advanced features like activate/deactivate SharePoint features, add/remove event receivers, manage your recycle bin.

    Feel free to use this program, but please don't redistribute it and don't provide direct link for download purpose.
    I don't provide official support for this tool, but you can try to mail me if you get bugs or want new features."

    Deactivate Feature

    Cheers!

  • WSS v3.0: Import an ASP.NET Web Part to your Windows SharePoint Services Site

    It is possible to use your ASP.NET web parts in your Windows SharePoint Services (WSS) application simply by exporting them to create .webpart files.
    .Webpart files are simply XML files that contains property values, state data, assembly or source file details about your Web Part (WP).

    In order to be able to export your WP, you need to make some changes to your WP code and the configurationsettings.

    Step by Step:
    1) In your WP code, set the ExportMode property to allow properties to be exported, like this:
                    this.ExportMode = WebPartExportMode.All;

    2) Locate and modify your system.web section in your web.config configuration file, like this:
                    <system.web>
                                    <webparts  enableExport="true" />
                    <sytem.web>

    3) Choose export from the Web Part menu to create a .webpart file which you now can import into your WSS WP Page J


Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts