Archives

Archives / 2006
  • External Data & InfoPath: Server Upgrade and Migration Tool

    Getting external data into an InfoPath form is extremely easy and creating rich electronic forms is easy as well, so lots of power users and developers are using InfoPath to capture structured data. Publishing those forms is also very easy: in the InfoPath client, just click the Publish menu item and go through the wizard. Et voila, the form is ready to be filled out in a SharePoint document library by the end users. The fun starts when those power users or developers are not allowed to deploy directly to the production SharePoint servers: probably the locations of the external data is different on your development/test server than on the production machine (especially if you automatically submit data). In InfoPath 2007 and Microsoft Office SharePoint 2007 (MOSS 2007) this can be solved by using Universal Data Connection (UDC) files. The InfoPath knows where to find the UDC file (relatively to the location of the form) and the UDC file tells InfoPath where to data is located. So the location of the data is not stored anymore in InfoPath, but it's stored in the UDC file. The result: you can change the location without having to change the InfoPath form.

  • Where are the Document-Level Templates in VSTO 2005 SE?

    Once in a while I get the remark that there are no document-level templates available in Visual Studio Tools for Office 2005 SE (VSTO 2005 SE). Typically people that used to work with Visual Studio Tools for Office 2005 are worried since they can't find their beloved templates for creating Word documents, Word templates and so on in Visual Studio. Actually the download page for VSTO 2005 SE gives the answer/solution:

  • Announcing the Return of the SmartPart

    Finally the latest version of the SmartPart is here: the Return of the SmartPart, also know as SmartPart v3, also know as SmartPart for SharePoint 2007. For those of you who are new to the SmartPart: the SmartPart is an open source web part that can host any ASP.NET Web User Control. What is the advantage of creating web parts by making use of the SmartPart? Well if you are familiar with the "traditional" web part development technique you probably know that you have to write lots of code, there is no designer support in Visual Studio. The SmartPart allows you to create a Web User Control (ASCX) in Visual Studio by making use of the designer, and deploy it to a SharePoint site. This release of the SmartPart is targetted for SharePoint 2007, both Windows SharePoint Services v3 (WSSv3) and Microsoft Office SharePoint Server 2007 (MOSS). Since the initial release almost 40.000 SharePoint developers have downloaded the SmartPart, get your copy today (for free of course) from the GotDotNet Workspace (in the releases section)! For those of you who have attended my session about web part development on TechEd: Developers in Barcelona, this is the version that I showed over there.

  • Virtual PC 2007 Beta: Keyboard Problems (repeating keys)

    Last weekend I took the challenge of installing Windows Vista and Office 2007 on my main laptop (Toshiba Tecra M4 Tablet). The installation of Windows Vista went quite smooth, the only problem that I had was an issue with my wireless network at home. I'm using a Belkin router which has a setting called "Turbo Mode" and it seems that Vista doesn't like that one. Luckily I also had a wired connection because it took a while before I figured that one out. :-)

  • TechEd Photos Uploaded

    Just like Patrick and Joris, I’ve upload my TechEd photos to my Flickr account, you can find them in this set. Btw, I’m really a big Flickr fan (I’ve got a Pro account) and the recently added geotagging features very cool. The thing that makes Flickr my preferred choice above SmugMug and others is that fact that they have an API. There’s even a .NET wrapper which I recently used to create a mash-up with Flickr and Microsoft Virtual Earth (more on that later if I can find some time to finish this pet project). Anyway, here are some of my favorites:

  • Seriously Cool Stuff: Visual Studio 2005 Extensions for WSS v3

    I just got back from a really cool Tech Ed session: OFF205 Office Developer 101: How to get started building Office 2007 solutions. Although the name doesn’t give it away, it also covered some SharePoint stuff. The first part of the session discussed some basic Office client development topics (Hello World ribbon buttons and custom Task Panes) but the interesting stuff was in the second part: Alexander Malek talked about the Visual Studio 2005 Extensions for Windows SharePoint Services v3. It was released earlier today, see Alexanders post, and Joris’ (aka Jopx) post (he was sitting next to me in this session and told me it works for B2TR). (download link).

  • Custom Edit Forms for SharePoint 2007 Lists

    What a coincidence: last week a student asked a question that I couldn’t answer straight away and probably at the same time somebody posted a blog post solving the question! The question was how to customize the edit form that you get when you create or edit a list item in a SharePoint 2007 list (EditForm.aspx). In SharePoint 2003 you could do this trick by editing the page in FrontPage 2003, when your right clicked on the control on the page you could actually break the control into different controls. Optimistically I tried to do the same thing in the SharePoint Designer, although the right click menu didn’t show to option that I was looking for (there went my street credibility for that course :-) ). Kristian Kalsing explains it on this blog post how this works in the 2007 world:

  • MOSS 2007 Training @ Lisbon, Portugal Pictures

    Last week I did a Microsoft Office SharePoint 2007 Course at the Microsoft Portugal Campus in Lisbon. The training room was pretty crowded: more than 30 enthusiastic students! Even though it was a public holiday on Wednesday in Portugal (and in Belgium) everybody showed up, thanks everybody! Anyway there were some avid readers (even some fans!) of my blog that asked to post some pictures of the course. So here they are! Kudos go to everybody that was involved: it was a great week!

  • Tech Ed: Developers, I’m there!

    Yesterday evening I arrived with my pal Patrick in the beautiful city of Barcelona for Microsoft Tech Ed: Developers. The complete U2U team will be present and we will have a boot as well. Make sure to drop by to say hi, and maybe get one of the beloved U2U goodies (say that Jan sent you).

  • my.Blog.Restart();

    Wow, it has been a long time since my last blog post! For those of you wondering: your browser is not broken since my blog displayed the same page for more than 2 months, I’m still alive and kicking, I’m not stuck in China and I’m still knee-deep in Information Worker technologies at U2U. Those guys have kept my really busy the last couple of months and made it possible to travel to lots of great cities to “evangelize” the 2007 Microsoft Office System: Zurich, Dubai, Jeddah, Lisbon, … Thanks for all the people attending the gigs, it was great to show you around in Office 2007!

  • Leaving for China - OOF till August 15th

    Finally my holidays have arrived! After a great week in Barcelona (SharePoint 2007 Bootcamp) I’m leaving today for a trip trough China. Until August 15th I will have very limited email access, and don’t expect to see any blog posts. Enjoy your summer holidays!

  • Try Office 2007 Online: Beta 2 Test Drive

    Sure the 2007 Microsoft Office System looks very sexy, but I know lots of people who are quite hesitant to install it on the machine that they use during their everyday life (and they are probably right). So you’d like to try out the beta bits without messing up your main operating system and without the hassle to install and configure the server components, this is for you:

  • YASR: Editable List/Document Library Pages

    One of the more common things to customize in SharePoint 2003 (both WSS and SPS) are the pages that display lists or document libraries. Users end up on those pages when they click on the list/document library in the Quick Launch, or on the web part title that’s displaying the list/document library data. Those pages can be customized but you need to build your own site definition or you need to use FrontPage.

  • Vista Look for Office 2007 in Windows XP

    I’ve been running Beta 2 of the 2007 Microsoft Office System on my main laptop for a couple of weeks. At first I was a little bit hesitant to install the Beta of my main machine since I actually need to get some real work done as well (sometimes I feel like a real Information Worker!). But so far I only experienced some minor glitches, so I can uninstall the old, trustworthy Office 2003 bits from my machine (I went for the side-by-side installation of Office 2007). Some of my colleagues are running Vista Beta2 as their main operating system but I didn’t dare to do that yet. But those guys have the really slick looking black/gray UI in Office 2007, old-fashioned people (like me) have the blue UI.

  • Office 2007 Train-the-Trainers Course at Brussels

    This week we had the pleasure to organize a first Train-the-Trainers (TTT) course on the 2007 Microsoft Office System at U2U in Brussels. It was a very international group; 18 passionate trainers coming from all over the world: Belgium, Netherlands, Denmark, Norway, Switzerland, Austria, Chechia, Russia, Litva, Marocco. Of course we took the opportunity to show them the touristic side of Brussels as well and let them enjoy some Belgian beers. You can see some pictures over here (scroll down to "Office Development and SharePoint 2007 Train-The-Trainer at U2U"). It was great teaching you guys, and I want to wish you all the luck for your trainings!

  • YASR: User Account Look-Ups in SharePoint 2007

    Sometimes a very small feature in SharePoint 2007 can mean a big relief for SharePoint users. Do you know the “pain” to add a user to a SharePoint site for example: you need to know the exact account name or the email address. One small typing mistakes will result in an unrecognized user. In the next version of SharePoint this scenario is drastically improved, and resembles a lot the experience that you get in Outlook.

  • YASR: Alerts in SharePoint 2007

    One of the more popular quirk in SharePoint 2003 (remember the YASQ’s?) was the alerting mechanism. The alerts in SharePoint 2003 are OK at first sight: you can create an alert for a complete list or document library, or just for one item. The problem is that you can only create an alert for yourself. This makes sense if you think of alerts as ‘RSS-avant-la-lettre’. But lots of people would like to create alerts for other users as well. Unfortunately this was not available out-of-the-box, although you could customize SharePoint by installing various (free) web parts to overcome this issue.

  • Reducing Fan Noise on my Tecra M4

    Since a month or so I’m using a Toshiba Tecra M4 tablet pc as my main laptop (replacing my ‘old’ HP NX9110). At first sight I was quite pleased with the machine: nice big screen with a high resolution, good CPU power and not too heavy. Since this is my first tablet, this ‘coolness’ factor is of course also playing a role! Later on I got to know the not-so-nice features of this machine: battery life is not that great (2h) and sometimes it seems that the machine is going to take off. When the CPU usage bumps (even very short) the fan reacts immediately causing some very loud noise. When you’re in a VPC the noise is almost always there.

  • .NET 3.0 = WinFX !?

    Mmm, now that everybody is used to the (pretty cool) WinFX name, we have to learn to say the .NET Framework 3.0. One of the reasons for this name change that's mentioned is to avoid confusion... Now I'm confused! Will there be a new .NET CLR as well, or is the CLR of .NET 3.0 the same as .NET 2.0? Read the details at Somasegar's blog:

  • YASR: RSS In SharePoint 2007

    RSS feeds are great to keep you up to date without the hassle to go and look if information is updated; the new/updated stuff is pushed towards you. In the previous version of SharePoint, there was no support for RSS feeds out of the box. Although it’s possible to add RSS functionality to SharePoint 2003 by installing add-ons, it’s not very straight forward. Luckily in the new SharePoint 2007 RSS feeds are available, and the good news is: it’s enabled by default! When you navigate to a list or document library, you can select the View RSS Feed item from the Actions menu.

  • Microsoft Office Sharepoint Server 2007 Beta 2 Trial Period Expired

    I noticed that I get lots of hits on my blog from people that are receiveing the message "Microsoft Office Sharepoint Server 2007 Beta 2 Trial Period Expired" when they install MOSS 2007 on a domain controller. I know the solution has been blogged by other persons, but for the people that ended up on my blog (like you?): you need to download and install the following file:

  • Tracking In BizTalk Server 2006

    The Health and Activity Tracking tool (HAT) has lost quite some functionality in BizTalk Server 2006 compared to the 2004 version. Actually that's not a bad thing since all the lost functionality has been ported to the BizTalk Server Administration tool. Some time ago I was looking how to enable tracking for a specific message property in BTS 2006, it's not happening in HAT anymore, but in the Server Administration tool! [Source, plus more intresting FAQs]

  • U2U Training for Windows Vista

    Man, I wish I could follow this training myself! I've seen Peter playing with all the cool stuff: WCF, WF, WPF, ... so much content. Maybe he's also doing some evening sessions for his colleagues. :-)

  • Contributor Settings in SharePoint Designer

    When you install Microsoft Office SharePoint Server 2007 (MOSS 2007), out-of-the box the Contributor Settings will be enabled on your site(s). You will notice this in the SharePoint Designer task pane. By default your account will (probably?) be in the Content Authors group, wich may “restrict the use of some features” as the task pane mentions.

  • Where did Workflow go In SharePoint Designer Beta2?

    If you have installed Microsoft Office SharePoint Server 2007 (MOSS 2007) in the “Beta-2-has-been-released-yeah!” rush and didn’t read any documentation or didn’t watch any webcast, you’ll probably notice that some items have moved compared to Beta 1 and Beta 1TR. I “lost” the menu item in the SharePoint Designer that opened the wizard to create a new workflow.  After a couple of minutes I discovered the new location, so let me share that with you. First of all: open the site on which you’d like to create to workflow in SharePoint Designer (File menu, Open Site).  Next, in the File menu, click New and select Workflow. Tadaaa!

  • SharePoint Lifesaver

    I love reading SmartPart success stories! Matt Ranlett has a nice one: "So I've just wrapped up a quick little demo of how easy it is to code for SharePoint. Since the focus is on easy, and they're not yet 100% sure if we'd be using SharePoint vs a make-your-own ASP.Net 2.0 site, I decided the best way to go is to use the SmartPart and show off how you can write normal old ASP.Net code and still get it to show up in SharePoint. Since we're thinking about an ASP.NET 2.0 site and everyone wants to write ASP.NET 2.0 code, I really had to use the Son of SmartPart, which includes the ability to display 2.0 User Controls and 2.0 Web Parts in SharePoint.  Since this is only a demo, I knocked up a quick little user control that replicates a report we have here.  To get SoSmartPart to "see" a user control, all you have to do is drop the .ascx into a UserControl directory on your SharePoint server.  I did that and PRESTO!  My control shows up in the list of available user controls in the SmartPart toolbox area.  I select the desired control and hit Apply.  BAM - error.

  • 2007 Microsoft Office System Beta 2 available "in the next week or two"

    Thanks to Maurice we know that WSSv3 has been signed off Beta 2 last Monday. Also the last few days quite some Microsoft guys and girls have been raving about the fact that Word 2007 Beta 2 can be used to create blog posts. So the whole SharePoint and Office community is holding their breath for the moment Beta 2 will be available to download. Officially there is no fixed date but Don (another MS employee) gives us another hint (and I quote): "This is in Beta 2 which will be available externally in the next week or two". Let's hope this information is accurate! :-)

  • YASR: Navigation in SharePoint 2007, Part One

    [Yet Another SharePoint Relief Series] One of the pain points of SharePoint 2003 (especially Windows SharePoint Services), is the lack of navigation possibilities. It’s quite hard to find out which sub sites are created under a WSS site. Also when you’re on a WSS site, you don’t have any clue or way to navigate to the parent site hierarchy. With a small amount of customization however, it’s possible to solve these issues. In my SharePoint classes I always show how to create a breadcrumbs web part and drop-down navigation web part. For a pre-fabricated solution, check out Tom’s tree navigation web part. In SharePoint 2007 these web parts become obsolete, navigation is available everywhere. First of all, breadcrumbs are everywhere! Take a look at the screenshot below; it’s displaying a Contact list on a site. Notice the breadcrumbs to navigate back to the site.

  • YASR: Forcing Check Out in SharePoint Document Libraries

    [Yet Another SharePoint Relief Series] Document Libraries in SharePoint are great for doing document management. Once of they key concepts in document management is the ability to check out documents while editing the document. This will prevent other users from making changes at the same time. Check out functionality is available out-of-the-box in SharePoint 2003 Document Libraries. The only problem is that users are not forced to check out a document when making changes. There is however a workaround, but it involves editing the ows.js JavaScript file. (for more information see the MSD2D tip).

  • Free Records Management for SharePoint 2003: 80-20 Retention Server

    Last month I spent some time with a customer discussing their SharePoint implementation, during these sessions they brought the following product to my attention: 80-20 Retention Server. It has been available for a couple of months (I know I’m a little bit behind compared to my fellow bloggers Mark and the other Mark, but it’s interesting enough to mention once again. Basically 80-20 Retention Server is a product that handles the life cycle of documents stored in SharePoint 2003. 2007 Microsoft Office System is still quite far on the horizon, so this product nicely fills up the gap. I haven't got any hands-on experience, but it looks very promising!

  • YASR: SharePoint 2007 Versioning

    [Yet Another SharePoint Relief Series] In SharePoint 2003 you can enable versioning for a Document Library, so SharePoint will store for each document in that library previous versions when the document gets edited. That’s nice, but that’s about it what you get out-of-the-box. Since each version of the document is in fact a complete document (it’s not the delta that’s stored for a version) big documents can take up more space than desired. Just imagine that you have a 1MB Word document for which you have 15 versions, the total size that the document item will use, is 15 MB (15 times 1 MB). So a very common request is to limit the number of versions that is stored in a document library. In SharePoint 2003 there is no out-of-the-box functionality to do that, although it’s quite easy to write a Document Library Event Handler to accomplish this, but you do need to write some code and deploy the solution.

  • YASR: SharePoint 2007 Site Columns

    [Yet Another SharePoint Relief Series] If you know a little bit about SharePoint 2003 you probably are aware of the fact that you can add custom columns to a SharePoint List or a Document Library. For example you can add an Importance column to a Document Library so each document in that library can have an Importance value. Probably if you want to do this nicely, you create Choice column so users can select the value for the Importance field from a couple of predefined values (e.g. Important, Very Important …). So far so good, this works fine in SharePoint 2003. But suppose you would like to have this Importance column also in another Document Library or in another List. The only option that you have in SharePoint 2003 is to repeat the creation of the field for the other Lists or Libraries (including defining all the different Importance values). In SharePoint 2007 you can avoid this repetitive work by using a new feature called Site columns. When you navigate to the Site Settings of a site, you’ll see a link called Site columns.

  • SharePoint 2007 Goodies: the YASR Series

    If you have been working with SharePoint 2003 you probably know the abbreviation YASQ which stands for yet another SharePoint quirk. Those quirks seem to be insignificant at first sight, but they are so important to be aware of if you don’t want to run into serious problems. Just imagine that you (or your sales person) have sold document level security in a content management system built on top of SharePoint 2003. :-)

  • SharePoint 2007 Upgrade Scenarios

    When talking to customers about the new version of SharePoint, a lot of questions I get are related to moving the existing infrastructure and data to the new version of SharePoint once it gets released. For now there wasn't a lot of (public) information available, but now Joel Oleson has written a nice post about the topic. There are actually three scenarios:

  • Where Did My HAT Functionality Go in BizTalk 2006?

    Since the last couple of weeks I’m spending again some time with BizTalk. Although there is no official training material for BizTalk Server 2006 available yet, U2U is already offering BizTalk 2006 training. So it was about time to upgrade my BizTalk Server 2004 skills!

  • 5-day bootcamp on Microsoft SharePoint 2007 @ U2U

    Woehoe, finally there are some SharePoint 2007 courses available at U2U! If you are intrested in this exciting new technology: see you @ U2U... Btw, this is also an excellent opportunity to get yourself one of those SharePoint 2007 t-shirts. :-) So, see you at a SharePoint 2007 training at U2U!

  • "WebForm_PostBackOptions is undefined" and Son of SmartPart

    I haven't experienced this problem myself, but there seem to be some people get this exception when they use Son of SmartPart to load ASP.NET 2.0 user controls in combination with the Web Deployment Projects add-in. Steve Hartzog blogged about the solution for this problem: add the WebResource.axd to the excluded paths in SharePoint Central Administration. If you want to know how and why, check one of my previous posts. If you just want to get it fixed, below is the summary. I'm going to include this step in the Installation Guide of the Son of SmartPart, once again thanks Steve for bringing this to my attention!

  • Feedback Requested: SmartPart v2 Breaking Changes

    Son of SmartPart version 1.0 has been out there for quite some time now, so it’s time for an update. Since the last release I got tons of questions, feedback and requests, unfortunately they I haven’t been able to answer them all (they keep me very, very busy at U2U). Before I’m going to release the next update, I’d love to get some feedback of the SmartPart community. Let me know if you like or dislike the proposed changes or maybe you’ve got another request?

  • How-to: Remove Managed Code Extensions (VSTO) from Documents

    This week one of my students asked how he could remove the VSTO extensions of a specific Word document. I never thought about it, but if you give it a little thought, it's quite useful. Just imagine that you have a VSTO Word template solution that allows you to create a document very easily (for example with some custom task panes). Once you're done building the document you may want to save it, and give users that don't have VSTO runtime installed (or don't have access to the extenions) the possibility to open the document (without any warnings). It turns out that's not that difficult, it's even documented on the MSDN site:

  • FlexListViewer: Display Contents of a SharePoint List From Another Site

    Almost two years ago (wow, time flies when you're having fun!) I wrote a small article about how you could reproduce contents from a SharePoint list or document library on a site, when the actual list is stored on another site. The trick that I explained was to use FrontPage to handle all the dirty work, but of course the consequence is that you end up with an unghosted page. Now Robert te Kaat, has written a nice web part that can do the same thing: FlexListViewer-webpart is able to display any type of list and can be easily configured, just by configuring the address of a view of the list.

  • Web Part Platforms and Development Techniques

    Web parts are everywhere today! You can use them today on diverse platforms and you can create them with various tools. The goal of this post is to give a clear overview of the different platforms and development techniques that are available.

  • Press Release: Microsoft Office 2007: Better Solutions, More Options

    REDMOND, Wash. — Feb. 15, 2006 — Microsoft Corp. today announced the lineup of its upcoming 2007 Microsoft® Office system products, previously code-named Microsoft Office “12,” including new and improved suites, applications, servers and services to be available by the end of 2006. The 2007 release is designed to increase individual impact, simplify collaboration, streamline business processes and content management, and improve business insight. The product and packaging lineup is grounded in a deep understanding of how customers’ needs intersect with trends in the workplace. Microsoft will make available both enhanced and new packaging options to make it easier for customers to purchase the solutions that best meet their unique business needs. Read the full press release over here

  • SharePoint Web Part Code Snippets for VS 2005

    When you want to develop web parts for SharePoint the “traditional” way, it’s good idea to use the Web Part Templates for Visual Studio .NET. These templates will give you a start class to quickly build web parts. Unfortunately these templates are not (yet?) available for Visual Studio 2005. Since Windows SharePoint Services SP2 you can run your WSS sites on .NET 2.0, so you can build your SharePoint web parts with Visual Studio 2005. Given that copy/pasting code is rather cumbersome I’ve create a couple of code snippets for Visual Studio 2005 that will generate code for a SharePoint Web Part. Currently I’ve got code snippets to create:

  • DIWUG: Dutch Information Worker User Group

    [Via Mart] Here’s some news for all my Dutch readers (I do have some, right?): there is an equivalent of the BIWUG (Belgian Information Worker User Group) in the Netherlands, the DIWUG (Dutch Information Worker User Group). Nice name guys! :-P Lately I’m spending quite some time in the Netherlands (I’m leaving tomorrow for Amsterdam), so maybe I can join you guys during a meeting!

  • Windows Live Messenger Invites Available

    If you are interested to test drive the new Windows Live Messenger (aka MSN Messenger 8.0, lots of info on the team blog), drop your email address in the comments of this post. The first three comments with an email address in it will receive an invite. The only thing that I'm really excited about is the fact that you can make phone calls to normal telephone lines (VOIP). My first tests are quite positive, the sounds quality is comparable to Skype (maybe even better). It's not that I don't like Skype, but I want to keep my task bar clean. :-) The only reason that I'm not uninstalling Skype already is that fact that Skype runs perfectly behind almost any firewall (a must-have-feature if you want to phone home from a hotel room). Next week I'll be in Porto for a VS 2005 Touchdown Training, so it will be a nice test!