Tuesday, June 14, 2005

AlternateCSS, SharePoint:CssLink control and FrontPage 2003

Todd wrote an article a while ago about how you can get the AlternateCSS attribute of the project element in ONET.XML to work - basically you have to replace the hard coded stylesheet link in the aspx pages with the <SharePoint:CssLink DefaultUrl="/_layouts/1033/styles/ows.css" runat="server"/> control. Remember always create a new custom site definition when doing this - see Creating a site definition from an existing site definition. Unfortunately when you open a site based on the altered aspx file in FrontPage 2003, the stylesheet is not shown correctly (... or not at all for that matter)

Add a SharePoint document library to the "My Places bar"

A very easy but usefull trick:
In Office XP and Office 2003, the My Places bar appears in the left pane of the Open and Save As dialog boxes in Office XP programs. If you open a word document from a document library and you click File>Save As... the Save As dialog opens. Now you can click in top of the Save as dialog Tools > "Add to My Places". From now on you can immediately save a document to this document library by selecting the appropriate icon in the My Places bar without having to go through the list of Network Places

Friday, June 10, 2005

How to determine if a Microsoft CMS user has administrator rights

Excellent posting from Stefan about how to determine if a Microsoft CMS user has administrator rights (Update : it seems that the idea originally came from Chester)

The CmsHttpContext has a UserCacheKey property which is used by ASP.NET output caching with MCMS in combination with the VaryByCustom="cmsrole" method to ensure that content can be varied for different user roles.

The MCMS help gives the following statement for this property:

UserCacheKey is guaranteed to be the same for two users, of those two users are both members of all the same MCMS rights groups. UserCacheKey will also be the same for two users if both users are MCMS administrators. In contrast, UserCacheKey is different for two users if those two users do not meet either of the above two requirements.

Looking at the value returned for this property for MCMS administrators shows that always "A" is returned!

So a simple check for this property for the string "A" is sufficient to identify if the current user is a MCMS administrator or not!

Actually there is no guarantee that this property value will be the same with the next service pack. But the chance that this gets changed is very low.


The way I always did it was creating a CMS channel where only an administrator had rights on, next you just tried to read in this channel. Off course non-admins would have no access. I guess the way of working described above is a lot cleaner...



Microsoft announces Acrylic - a new professional graphics software

Microsoft is going for some Adobe market share, you can now download a beta of a new professional graphics software, called Acrylic

See what other bloggers have to say about it:
  • Acrylic - for Professional Designers

  • Hot - Microsoft Code Named Acrylic

  • Microsoft release public beta of Acrylic - a new graphics app
  • Thursday, June 09, 2005

    IBF vs VSTO 2005

    Some interesting statements from Carlo Poli - he states that using IBF - even IBF 1.5 - is way to difficult especially the smart tag part. A demo video of VSTO 2005 with smart parts shows how easy it is with VSTO... so if IBF 1.5 doesn't get integrated into the next version of Visual Tools for Office, it seems dead in the water. I wonder what the IBF guru has to say about it ...

    MCMS vNext and MCMS SP2 info

    Interesting info from Andrew Connell (MCMS News from TechEd USA 2005 :: Day 2 (Yes, there's more!!!))

    MCMS 2002 Service Pack 2: Expect this to be released after the .NET 2.0 Framwork is released (BTW: today’s keynote at TechEd announced that Visual Studio .NET 2005 and SQL Server 2005 will be released to manufacturing [RTM] the week of November 7, 2005). The primary focus of SP2 will be to add .NET 2.0 Framework and SQL Server 2005 support to MCMS. Yes, you how have access to using master pages (just no placeholders within the master pages… that’s not supported) and all the other great features that are provided by the next generation of ASP.NET 2.0. This does not mean I’m not saying that you can touch the MCMS database, you just can host your database on the new platform. The only thing that isn’t supported is using the new ASP.NET 2.0 web parts within MCMS templates.

    MCMS vNext aka: futures: Yes, speculation can now end in the newsgroups and blogs that it's now confirmed there is a new version of MCMS in the works. When will it be available? MCMS is now part of the Office System. At the recent CEO Summit, Bill Gates announced that Office 12 will ship at the end of 2006 and you can expect a beta at the end of 2005/beginning of 2006. Because MCMS is in now part of the Office System, it will fall in line with those dates. Packaging & licensing is still being hashed out so no details on that. Again, just stay tuned for news in the coming months.



    Office 12 Preview site released

    The buzz volume surrounding Office 12 is going up... an Office 12 preview site has been released (Source:
    Office 12 Preview Site online

    SharePoint - to support or not to support...

    Interesting to see how much discussion there is about customizing SharePoint and about what is considered to be supported and what not... I guess the problem is that SharePoint has been released for almost 1.5 years now and still the documentation is being written. In the meanwhile developers had create actual solutions for customers using lots of tricks and workaround, because lets face it, developing on the SharePoint platform is not very easy.

    Well, enough whining, here's an overview of articles about supported or not:
  • Supported… not!!

  • More tunes in the "unsupported" blues... adding web parts to Forms pages unsupported!

  • Modifying site definitions, changes in Onet.xml, adding AllUsersWebPart element

  • About Site Definitions and making waves inside Microsoft walls;-)



  • Wednesday, June 08, 2005

    Tuesday, May 17, 2005

    Supported and unsupported scenarios for working with custom site definitions and custom area definitions in SharePoint

    I don't really like this Microsoft KB - it is amazing how limiting it is - Supported and unsupported scenarios for working with custom site definitions and custom area definitions in SharePoint. It seems that Modifying site definitions - changes in Onet.xml , adding AllUsersWebPart element is an unsupported scenario as well... too bad. PS It seems that some people share my opinion - see SharePoint custom site definitions... I'm lost...



    WSRP .Net Framework and SharePoint

    Netunity is a solution vendor which has build WSRP .NET Framework The WSRP .NET Framework is a comprehensive portlet development framework supporting the WSRP 1.0 specification for building compliant applications and content solutions based on XML standards and a Service Oriented Architecture (SOA). Verified against the major portal vendors, the framework includes an extensive class library and Visual Studio Wizards to help you easily create WSRP producers and portlets. The framework does not require the installation of a portal or employ the use of proprietary services and content management systems.


    I wonder if this also works with SharePoint - I haven't seen a lot of talk about WSRP and SharePoint except for some projects on GotDotNet - WSRP webpart toolkit for SharePoint and the WSRP web service toolkit. And what about webparts in the next version of SharePoint or webparts developed in ASP.Net 2.0

    InfoPath - third party tools

    One of the major shortcomings of InfoPath is the fact that you need a full blown InfoPath on every client which needs to fill in a form. I guess that this is one of the major reasons why InfoPath hasn't really taken of as a new electronic forms solution. There are however some vendors which sell solutions to solve the full client problem:
  • AchieveForms

  • InfoView

  • NetXPert InfoScope


  • There is also a nice article from Microsoft called Sharing InfoPath forms with users who do not have InfoPath...

    Microsoft Application Analyzer 2003 for Lotus Notes

    Microsoft Application Analyzer 2003 for Lotus Notes has been made available - this tool helps in determining the size and scope of Lotus Notes application migration projects. The Analyzer consists of two parts: the Data Collector and the Data Processor. The Data Processor interprets the data from the Data Collector and creates detailed reports that indicate the complexity and scale of the application and recommendations on how to most efficiently migrate applications to Microsoft platform application environment. The tool is used in the pre-sales and sales phases and is the foundation for an implementation plan.

    Quite a nice tool, when you are considering a migration from Lotus to SharePoint.

    Monday, May 16, 2005

    MSN Search toolbar released

    MSN Search Toolbar has finally been released,... I have been using the beta for a couple of months and I have to say I'm quite impressed especially with Windows Desktop Search ....
    Go download it

    Wednesday, May 11, 2005

    SOA - more then just hype

    It is amazing how much talk there is from different vendors about Service Oriented Architecture (SOA). Unfortunately I have to agree with Richard Turner - most of the it is just marketing talk. SOA is an abstract notion - it is not linked to products or vendors, it should be generally applicable to any given distributed systems platform.

    Richard puts it even a little bit harsher "The whole SOA/ESB thing is all hype, people! Once you come to realize and accept that, the world becomes clearer. You don’t believe me? Define what SOA is. Then try and find one other person that agrees with you wholeheartedly. If you’re lucky enough to manage this, try and apply your definition of SOA across more than one platform / technology. Repeat for ESB. Good luck!" (See
  • Does SOA Exist?
  • ) but he also sees the advantages of Service Orientation.

    I think the general concept is quite interesting but I'm not really sure when I will ever see an actual implementation of SO design. I recently took a look at FABRIQ recently - which combines service principles, one-way multi-transport messaging, queuing networks and ideas from autonomous agents into a single framework. Fabriq is no services framework but does show the complexities involved when creating a complete SO design. The Microsoft Patterns & Practices group has also published an “Enterprise Development Reference Architecture” which also provides some interesting guidance but which I think is quite complex as well.

    If you want to know more, check out these interesting postings about SOA lately:
  • On SOA, Indigo and Services

  • Just what is an ESB, anyway? Part II

  • Web services standards can sometimes inhibit SOA development, some say

  • Radovan responds re SOA

  • SOA revisited (again)

  • Call increases for SOA clarity

  • Does ESB Exist?

  • Does SOA Exist?

  • The SOA reference model

  • What does SOA really mean? One big hype machine
  • "SOA" doesn't really exist, does it?
  • Maestro - Microsoft Realtime Reporting Server

    Found this on Mauro's blog - "Planned Microsoft Realtime Reporting Server Could Rock Analytics World", ... It seems that Microsoft is going to launch a private beta of Microsoft Realtime reporting server codename "Maestro" this summer. Most of the BI tools which exists at the moment are mainly working on snapshots of data - realtime or near realtime reporting would be a very important move. A full article about it can be found at http://ie.bizintelligencepipeline.com/159907104 . Maestro will be based on a combination of technologies - SQL Reporting Services, SQL Notification Services and the Business Scorecard accelerator... I'm however wondering if it will use SQL 2005 as well as SQL 2000. And what about SharePoint since it builds on the Scorecard accelerator.

    Monday, May 09, 2005

    Sunday, May 01, 2005

    Internet explorer and PDFs

    Did you ever notice that PDFs seem to open slow in Internet Explorer? I just found out why... it seems that there are in fact multiple requests to your webserver when trying to open a PDF. In IE 4.x and 5 it uses three requests. For IE 5.5+ it uses two. For a complete reference goto http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792

    SharePoint issue list reports and Office 2003 web parts

    Windows SharePoint Services contains out of the box an issue list which you can use to track change request or problem reports about your product. If you go to the issue list you will also notice that there are some reports available for these issue lists. The great thing about these reports is that if Microsoft Office 2003 English Web Parts and Components (Freely downloadable) is installed on the server, the report generator for an issues list creates rich charts for report types. When a user clicks one of the report types on the Report page (reporthome.aspx), the user is directed to reportrich.aspx, which displays the chart. If the package is not installed, the user is instead directed to report.aspx and a rich chart is not displayed.

    The page which actually generates these reports is quite interesting as well, it is located in the Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\LAYOUTS\1033 folder and gives an interesting example about how you can use a sharepoint list as a basis for a graph generated with Office 2003 web components. One of the greatest flaws about the Office 2003 webparts is that you can only use ODBC datasources, it would have been a lot better if they used the data source catalog like the dataview webpart. I guess that if you take a look at the code in reportrich.aspx, you will get some nice guidelines about how to accomplish this.