Sweden SharePoint User Group – First meeting done

We had our first meeting this tuesday (November 18th) with about 30 people showing up. The interest is growing for the group, and as it looks now there’ll be more people coming to the next set of meetings. Fun!

Thanks to everyone who contributed to the meeting taking place.

In the picture I’m doing a presentation on what’s new and hot in the SharePoint world. And it looks like I’m trying to fly out from there with my left arm…
DSC00080

All in all, it was a great evening!

Hope to see you around!

Z


Published: Nov-20-08 | 2 Comments | 0 Links to this post

Microsoft Office Systems 2007 – Service Pack 2

Recent announcements around the blog-o-sphere and the announcements at TechEd in Barcelona indicated that the SP2 for Office Systems 2007 is on it’s way.

Releasedates

Don’t even bother to try to get an exact date for your upgrade. As it is said today, the SP2 for Microsoft Office Systems 2007 will be released somewhere between February and April 2009.
If you are to take SP2 into consideration, I would go for the latter timescope (April/May) to be sure :-)

Clients

As announced by the Office Service Pack Team:

Improved Outlook Calendaring Reliability

Improved Outlook Performance

Enabling Object Model support for Charts in PowerPoint and Word

Improved cryptographic functionality by supporting all cryptographic algorithms offered by the operating system

Improved functionality in Excel’s charting mechanism

Ability to ungroup SmartArt graphics (and as a result, the ability to add animations to them in PowerPoint)

Ability for Visio to export UML models to an XML file compliant with the XMI standard

Tool that enables the uninstall of Office client Service Packs

Servers

As per the Microsoft SharePoint Team Blog, the following parts are some of the SharePoint-related things that will be taken care of:

Improved Read-only Content Databases
Whenever a content database is marked read-only, all of the site collections in that database are automatically marked as read-only. 

ECM Performance and Manageability Improvements
Improved performance and manageability in variations, including STSADM commands for repairing links between source and target pages.

Improved Index Rebuild Timer Jobs
SharePoint content databases running in SQL Server 2005 will undergo an automatic index rebuild, which helps stop defragmentation, and stop the database from degrading in performance.

Upgrade Checker
This will scan your SharePoint farm in advance of applying SP2 and will provide feedback on the environments readiness to upgrade.

Summary

I do hope to see some more in-depth details as to what exact improvements are being made regarding the read-only content databases!

Regarding the Upgrade Checker, I think it’s something that should have existed for every SP and KB/Patch you install. Kind of like the “Windows Vista Upgrade Advisor”, but for SharePoint!

More info will be published about SP2 when it’s announced, stay tuned!


Published: Nov-16-08 | 1 Comment | 0 Links to this post

MSDN Ramp Up – Free training online

rampup
If you are looking for some free training within any of the many Microsoft technologies, have a look at MSDN's Ramp Up site. It's a free community-based learning program where you can choose the training that fits your needs.

Ramp Up overview

These are the different tracks you can currently choose from;

SharePoint for developers track – Part 1

Well, foremost since there’s a new “SharePoint for developers” track availible here

rampupsharepointdev1

This is a great way to improve your current skillset by adding some additional SharePoint skills (if you don’t have them already). It’s really easy to make this happen in your own pace.

This is the current set of levels in the SharePoint track part1:

  • Level 1: Web Parts
  • Level 2: Data Lists
  • Level 3: Event Handlers
  • Level 4: Workflow
  • Level 5: Silverlight

Published: Nov-16-08 | 2 Comments | 0 Links to this post

Sweden SharePoint User Group – November 18

We’re going to have our first User Group with Sweden SharePoint User Group on Tuesday, November 18.

Anyone can register and attend the meeting, as long as you sign up here!

I will be presenting some highlights (at least what I found interesting in my SharePointer-eye) from TechEd Developers – which is also a recap of what was said at the PDC conference!

I hope to see you there!

Regards,
Tobias


Published: Nov-15-08 | 0 Comments | 0 Links to this post

Leaving for TechEd EMEA 2008 – Developers

So, after a few weeks of conferences around the globe (PDC, TechEd) the time has come for the TechEd EMEA 2008 Developer tracks.

I’m leaving for Barcelona in the morning, tomorrow monday, and will arrive during the early noon.

I hope to see some of you guys there, and keep an eye out for updates in my blog!

TechEd_EMEA_180_SeeYouThere_DEV

Cheerio!


Published: Nov-09-08 | 5 Comments | 0 Links to this post

Microsoft Visual Studio 2010 and the .NET Framework 4.0 – CTP – Download now!

 

What is this?

You can now download a CTP of Visual Studio 2010 and .NET 4.0 from Microsoft’s download center. Fetch the link in the bottom of this article to download!

“Microsoft Visual Studio 2010 and the .NET Framework 4.0 are the next generation development tools and platform for Windows Vista, the 2007 Office System, and the Web.”

Most people already know what this means, so I’m not going to bother talking about it in detail here – go try it for yourself, I know I will :-)

Download

http://www.microsoft.com/downloads/details.aspx?familyid=922b4655-93d0-4476-bda4-94cf5f8d4814&displaylang=en&tm

Have a good play!


Published: Oct-27-08 | 1 Comment | 0 Links to this post

Microsoft announces a new .NET logo

Author: Tobias Zimmergren, SharePoint MVP
URL:
http://www.zimmergren.net

New .NET Logo!

newdotnetlogo

I was quite fond of the old logo. Or rather, I didn’t mind it looking the way it did. However this new logo is far more cooler and in total sync with modern design/graphics!

I just thought that I’d share this with you so you won’t be surprised when you stumble upon the new logo later on :-)

Read more about it

I read about the new .NET logo in Scot Barnes blog, which you can do aswell if you’d like more background:
http://blogs.msdn.com/msmossyblog/archive/2008/10/25/embrace-the-new-net-logo.aspx

Have a good day!

Cheers


Published: Oct-26-08 | 6 Comments | 0 Links to this post

CKS EBE – Comments Manager – Version 1.1.0.0

Author:

Tobias Zimmergren

Blog:

http://www.zimmergren.net

It’s getting late over here, but I ought to inform those of you using the EBE Comments Manager that there’s a new version out as of right now. It’s still a work-in-progress as a little private pet project of mine, so any suggestions and feedback are appreciated :)

For more information about the CKS EBE Comments Manager, check out this article!

If you want to skip the jidder, check out the tool directly: [Download]

Features

  • Colorscales
    • Green: Approved Comments
    • Red: Rejected Comments
    • Yellow: Pending Comments
  • App.config
    • Settings file to put your default values for:
      • Blog URL
      • Comments List name
      • Trackback/Linkback List name (Coming soon)
  • Comments Management
    • Select any comment(s) by clicking the checkbox next to it
    • Use the AutoSelect filtering to automatically select all comments with a specific string in the body or title (Thanks to Johan Ljunggren for the proposal to put it in)
    • Approval Status changer
      • Change Approval Status to:
        • Approved
        • Pending
        • Rejected
  • All the stuff it did before, of course…

Usage / Introduction

  1. Go to the “Settings” tab and set the correct values (or do it in the App.config once and for all)
  2. On the “Comments Manager” tag, click “Fetch Comments” and wait for’em to load up (a few secs probably)
  3. Manage your comments a bit more easy

Preview

Untitled-1

Summary & Download

This app is a very simple app which helps you to administer the comments for your  EBE blog. With the addition of approval status, you can easily approve, reject and set comments to pending.

This will of course be even more useful when the Web Service-interface is integrated, enabling you to do it from your client(s) :-)

You can download this lil’ tool here: [Download]


Published: Oct-18-08 | 83 Comments | 0 Links to this post

CKS EBE – Comments Manager

Introduction

<EDIT>
    A new version of this tool can be downloaded [here]
    Read more about the new version [here]
</EDIT>

I have been getting a few requests from people who've been getting quite a lot of spam in their Enhanced Blog Edition SharePoint blog, and who don’t currently have the ability to change any code or make adjustments. (They’ve got permissions to the system, but not to actually do anything like upgrade the assembly, add a nifty re-captcha validator or any other changes. They’re only allowed to do the “admin-stuff through the admin-interface”).

My quick and dirty solution was to provide them with a “Comments Manager” which basically is a Windows Application that will list all comments in the blog with a checkbox beside it. The “admin” can then check the desired (or, undesired..) blog comments and then kill them. This solution proved to be much faster than to do the same using the web browser using e.g. the tedious “Edit in datasheet view” option.

Note; This isn’t by far any cool application – it merely does what the few people want it to do, kill undesired comments with a better overview :)

Features

This light-weight application will do the following:

  • List all comments
    • Comment Author
    • Trimmed Body
    • Background-coloring
      • Green for comments with status = “Approved”
      • Red for all other (Rejected and Pending)
  • Kill selected comments

Simple as that!

Comments Manager preview

image

Download

Download the CKS:EBE Comments Manager v1.1.0.0

If you have ideas or comments, or if it simply doesn’t work – leave a comment!
Better yet, leave a comment anyway! :)

Future additions

If required by the people using this simple app – the future versions could include

  • Comment status change [Approval status]
  • Use Web Services to connect to your SP site instead
  • Track- and linkback manager
  • etc. etc.


Published: Oct-16-08 | 11 Comments | 0 Links to this post

Web Part Caching – A simple approach

All kudos to Vince Rothwell who provided an awesome blogpost on SharePoint Caching and the CacheDependency object

This week I am tutoring a SharePoint 2007 development class over at Informator in Gothenburg, Sweden. Today we’ve been looking at Web Parts, creation of custom webparts and best practices for creating our custom solutions based on web parts.

I quickly coded up a sample which is caching items in a webpart - Huge server load is a major impact point for some organizations, making caching a strategically important choice if there’s much redundancy.

Anyway, you probably already know that it’s a good thing to cache your data once in a while if you’ve got heavy load and the data isn’t any “to-the-minute” critical information. So let’s get on with it..

Why?

Since people have been asking for a ‘simple sample’ of how to cache things in SharePoint – I thought that I would provide just that, a simple sample. For more in-depth information about caching and cachedependendies, check out Vince’s blog.

Check it out!

Web Part fetching items from a SPWeb object, looping all SPList objects and displaying the ItemCount property.

If there isn’t a cache object present, the iteration of the lists will be done immediately
image

If there is a cache object present, it will fetch the information from the cached object instead of iterating the lists, saving us some resources 
image

Code It!

This is the full code of the simple sample cache Web Part:

using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using Microsoft.SharePoint;
using System.Web;
namespace Zimmergren.WebParts.SampleCachePart
{
    public class SimpleCache : System.Web.UI.WebControls.WebParts.WebPart
    {
        protected override void Render(System.Web.UI.HtmlTextWriter writer)
        {
            base.Render(writer); 

            List<SPList> lists = new List<SPList>();
            string status = ""; 

            if (HttpRuntime.Cache["SimpleSampleCache"] == null)
            {
                status = "The following items are <strong>NOT</strong> fetched from the cache<br/><br/>"; 

                SPWeb web = SPContext.Current.Web;
                foreach (SPList list in web.Lists)
                    lists.Add(list); 

                HttpRuntime.Cache.Add("SimpleSampleCache",
                lists,
                null,
                DateTime.MaxValue,
                TimeSpan.FromMinutes(10),
                System.Web.Caching.CacheItemPriority.Default, null);
            }
            else
            {
                status = "The following items <strong>ARE</strong> fetched from the cache!<br/><br/>";
                lists = (List<SPList>)HttpRuntime.Cache["SimpleSampleCache"];
            } 

            writer.Write(status);
            foreach (SPList l in lists)
                writer.WriteLine(l.Title + " - " + l.ItemCount + " items<br/>");
        } 
    }
}

Summary & Download!

I always use the HttpRuntime or HttpContext objects to store and read my cached objects. You can of course use the built-in caching functionality of WSS 3.0 Web Parts if you feel that you have the need for it. However this approach works everytime, everywhere. Not just for Web Parts of course, but for any kind of ASP.NET hooked application.

You can download the sample project [here]

Thanks for tuning in,
Cheers


Published: Oct-07-08 | 5 Comments | 0 Links to this post
 Next >>

MCTS WSS 3.0 (Developer and Administration/Configuration) MCTS MOSS 2007 (Developer and Administration/Configuration) MCP