Jan Tielens' Bloggings

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

  • Scott Guthrie: "ASP.NET AJAX support in SharePoint 2007 coming later this year"

    Yesterday I attended one of the sessions Scott Guthrie presented at the VISUG event in Mechelen (Belgium). In this session Scott covered some of his ASP.NET 2.0 and ASP.NET AJAX tips and tricks: cool stuff. When started talking about ASP.NET AJAX the audience (+300 people!) started asking some questions, in my turn I asked Scott about using ASP.NET AJAX in SharePoint 2007. Scott confirmed Daniel's statements (not supported, only use the the client side scripts, server-side controls don't work, etc), but more interesting; he told the audience that ASP.NET AJAX will be supported in SharePoint 2007. How is Microsoft going to pull off this trick? <quote>ASP.NET Ajax will be supported in SharePoint when we release a service pack for SharePoint, we will ship it later this year.</quote> Great!!

  • Forms Based Authentication in SharePoint: Web Administration Tool

    One of the big new things (among tons of others of course) in SharePoint 2007 (both WSS v3 and MOSS 2007) is the fact that SharePoint now uses the authentication provider model of ASP.NET 2.0. This means that you have store the user accounts and passwords in another data source than Active Directory (the only option in SharePoint 2003), for example a SQL Server database. The good news is that SharePoint is relying on ASP.NET 2.0 for this, so if you know how to enable Forms Based Authentication in ASP.NET 2.0 sites, you also know how to enable it in SharePoint 2007! Enabling it is one thing, adding users to the database that stores the user accounts is another thing. Techies probably know lots of ways to create user accounts: stored procedures, sql statements, Visual Studio's Administration Site, ... But out-of-the-box there is no UI available to actually do that in ASP.NET 2.0/SharePoint 2007.

  • Nifty InfoPath 2007/SharePoint 2007 Feature

    Every once in a while you bump into a new feature in the 2007 Microsoft Office System and you think "hey! this is really cool!". This happened to me last week when I was playing around with InfoPath 2007. To be able to share with you my little aha erlibnis (credit for this term goes to my former math teacher), let's assume you've got following InfoPath form: the U2U Course Order form. A very basic form with Customer, Email, Course and Date fields, and a repeating table with student name and email fields.

  • SmugMug goes Ajax: Interesting Pitfalls

    [Via Thomas Hawk, Techcrunch] (Why do photo sharing sites need to have weird names: Flickr, SmugMug, Zooomr?) People who know me a little bit probably know that I love to take photographs, lots of photographs. My inner geek of course wants to do geeky stuff with all those pictures, so every picture gets: a) tagged and described (metadata stored in the picture itself so you never ever have to type descriptions, tags again) b) geo-tagged (store the coordinates where the picture was taken in the metadata) c) stored for eternity (I have a pro Flickr account, allowing unlimited upload and storage, it's my off-site backup). Why do I use Flickr, instead of other photo sharing/storing sites? Well when I started (a little over one year ago), Flickr was the only big one that exposed an API. So as a developer I could see my Flickr account as my "picture data store", accessible via a Services Interface; this means you are never "locked in", if a feature is not available you can write your own solution (eg batch download). Flickr has a very large community in general, but also a very large developer community: their API even has a .NET wrapper (kudos to the people who maintain this!) and the amount of tools is incredible.

  • Scott Guthrie @ VISUG Belgium

    (It's all over the Belgian blogosphere, but I wanted to mention it as well!) If you want to see one of the "big shots" in the Microsoft .NET team, who happens to be an excellent speaker, you should come and visit the next VISUG meeting with Scott Guthrie! Visit the VISUG site for full details and registration (it's free!). Scott will present two sessions:

  • How to get a List of Web Parts on a Page

    Recently I got a question from a student how to get a list of all the web parts (in code) that are displayed on a specific SharePoint Web Part Page. This could be useful if you would like to close all the web parts at once, add web parts programmatically etc. By 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.