Jan Tielens' Bloggings

Joy, frustration, excitement, madness, aha's, headaches, ... codito ergo sum!

  • Positional Flat File Processing with BizTalk 2004: Early Termination

    Here's a nice tip I found in the BizTalk newsgroup, which is a great resource for learning more about BizTalk. When you process positional flat files, BizTalk assumes that each line is completely filled with characters. For example you have two fields in your flat file: code (5 positions) and name (10 positions): BizTalk expects the file to look like this:

  • How To Recreate A SharePoint Navigation Bar with FrontPage 2003

    Today just a little trick that I needed when I started to customize SharePoint sites with FrontPage 2003. One of the first things you'll probably be doing when you want to alter how a SharePoint site looks, is deleting some table rows and cells from the default SharePoint layout. Sometimes it happens that you (accidentally?) delete one element too much… (at least it happened to me!). A tricky one to get back is the SharePoint navigation bar on top of the screen. To imitate the “real” one you can paste following HTML into your page:
    <table class="ms-bannerframe" border="0" cellspacing="0" cellpadding="0" width="100%" height="25px">
      <tr>
         <td class=ms-banner width=100% nowrap ID="myNavigationBar" valign="middle">
           <!--webbot bot="Navigation"
                    S-Type="sequence"
                    S-Orientation="horizontal"
                    S-Rendering="html"
                    S-Btn-Nml="<a ID='onettopnavbar#LABEL_ID#' href='#URL#' accesskey='J'>#LABEL#</a>"
                    S-Btn-Sel="<a ID='onettopnavbar#LABEL_ID#' href='#URL#' accesskey='J'>#LABEL#</a>"
                    S-Btn-Sep="&amp;nbsp;&amp;nbsp;&amp;nbsp;"
                    B-Include-Home="FALSE"
                    B-Include-Up="FALSE"
                    S-Btn-Nobr="FALSE"
                    U-Page="sid:1002"
                    S-Target -->
         </td>
      </tr>
    </table>

  • How-to: Display Contents of a SharePoint List From Another Site

    Some people are wondering if it’s possible to display the contents of a SharePoint list that resides on another SharePoint site. Yes this is possible, even better: I’ll show you how to accomplish this! Suppose you have a SharePoint Task list on your root site that contains some tasks. You also have a sub site on which you want to display the contents of the Task list of the root site. First of all you need to create the Task list on the root site of course.

  • Create SharePoint Webparts With ASP.NET User Controls (+ Demo Video!)

    Patrick Tisseghem loves creating SharePoint webparts using ASP.NET user controls, in one of his latest posts he simplifies this technique by using the dynamically compiled assembly (that is build the first time the user control is rendered on an ASP.NET page) which contains the user control. He even made a video that shows step-by-step how this works! Thanks Patrick for the free U2U course! ;-) I think this process could be even more simplified (as Patrick suggests) by using a utility that would compile the ASP.NET user control, without having to render that user control on a web form. I don’t know the compiler parameters that should be used to emulate what ASP.NET does, maybe someone else can help us out? My first experiences in a test environment were quite positive (after referencing the right assemblies :-). The procedure feels a little bit weird (you rely on ASP.NET to compile the user control), but there has to be a cleaner way to get a hold of the assemblies you need…

  • New SharePoint Webpart "UserAlerts": Create Alerts for Other Users

    I get quite a lot of questions about creating alerts in SharePoint: many site administrators want to be able to create alerts on behalf of other users. At this point, this not possible in SharePoint, but the SharePoint object model allows you to create alerts for any user. As an example I've create the UserAlerts webpart: