Stuff about Software Engineering

Author: Peter Birkholm-Buch (Page 13 of 17)

Using MindJet MinManager Pro to model P2 product breakdowns and displaying them in Sharepoint using SilverLight

Doing Prince2 product breakdown diagrams in Visio drives me nuts – I prefer to use MindJet MindManager Pro.
image
MindManager automatically numbers the sections even from a specific starting number. In this case the top level product has number 321.
With this cool tool from Micheal Scherotter it’s possible to export a MindManager Map to a SilverLight application. I’ve then embedded the application in a CEWP in WSS.
MOSSVPC_001
Pretty cool I think.

Getting Started with Expression Design – lynda.com Online Training Library®

From basic vector-based drawings to professional three-dimensional graphics built with Live Effects, Ted LoCascio covers the full range of possibilities in Getting Started with Expression Design. He starts by explaining Expression Design’s interface and how to work with documents, then moves on to cover working with objects and applying fills, strokes, and effects for best results. Exercise files accompany this training.

Getting Started with Expression Design – lynda.com Online Training Library®

Getting Started with Expression Blend – lynda.com Online Training Library®

In Getting Started with Expression Blend , Lee Brimelow covers all the basics that every designer and developer of WPF and Silverlight content needs to know. He starts with an overview of how Expression Blend fits into WPF and Silverlight workflows, then guides viewers through the process of creating and manipulating objects, building timeline-based animations, and exporting compositions into XMAL for use in Visual Studio.

Getting Started with Expression Blend – lynda.com Online Training Library®

SharePoint 2007 Learning Guide

From SearchVB comes a complete Sharepoint guide “SharePoint 2007 Learning Guide“. It contains pages with a bunch of links to relevant articles and screencasts on the following topics:

Highly recommended.

Plan for building multilingual solutions by using SharePoint Products and Technologies

This white paper provides information and guidelines for using Microsoft Office SharePoint Server 2007 in scenarios where content is managed across different languages. It details most of the functionality provided by Office SharePoint Server 2007 and suggests how to use it to manage multilingual scenarios. It also provides examples for creating custom Web Parts by using Microsoft Visual Studio 2005 and how to configure and manage them by using Microsoft Office SharePoint Designer 2007, the next generation of Web designer tools specifically designed for SharePoint sites. Microsoft Windows SharePoint Services 3.0 features and functionality, and how they add value to the end-user experience, are also described.
 
 
Highly recommended!

Howto use calculated fields in WSS lists even though it’s not supported

It turns out that [Today] and [Me] can’t be used in calculated fields in WSS lists.
 
However, there’s a bug (or feature) which allows us to use at least the [Today] any way.
 
In a list create a column with the name “Today”. It doesn’t matter but use the Date field type.
 
Now in a calculated field it’s possible to add the Today column and use it in a calculation like the age of something in years: =DATEDIF([Born];[Today],”d”)/365
 
Then delete the Today column – and now we’re set. WSS then replaces [Today] with the current date and the Age calculated field is filled with the Age in years.
 
Weird but true.
 
Here’s a some more reference information on calculated fields: http://office.microsoft.com/en-us/sharepointtechnology/HA101215881033.aspx
 

How to get a List of Web Parts on a Page

Using the SharePoint object model this is pretty easy, especially if you want to retrieve that list with code running in a web part. The WebPartManager property of the WebPart base class, gives you access to a collection of all the WebPartZones available on the page. Once you’ve got the zones, you can get the web part instances by using the WebParts property. The following web part code will display a small list of all the web parts found on the page, including the name of the web part class and the web parts zone:
 

using System;
using System.Runtime.InteropServices;
using System.Web.UI;
using System.Web.UI.WebControls.WebParts;
using Microsoft.SharePoint;
using System.Web.UI.WebControls;

namespace WebPartLister
{
  public class WebPartLister : System.Web.UI.WebControls.WebParts.WebPart
  {
    BulletedList list;

    protected override void CreateChildControls()
    {
      list = new BulletedList();
      WebPartZoneCollection zones = this.WebPartManager.Zones;
      foreach (WebPartZone zone in zones)
      {
        WebPartCollection webparts = zone.WebParts;
        foreach (WebPart webpart in webparts)
        {
          list.Items.Add(
          string.Format(“{0} ({1}), {2}”,
            webpart.Title, webpart.GetType().Name,
            zone.DisplayTitle));
        }
      }
      this.Controls.Add(list);
    }

    protected override void Render(HtmlTextWriter writer)
    {
      EnsureChildControls();
      list.RenderControl(writer);
    }
  }
}

« Older posts Newer posts »

© 2026 Peter Birkholm-Buch

Theme by Anders NorenUp ↑