October 2008 - Posts

Download Zipped List Items Feature Released

This Custom UI Actions for Sharepoint extends the lists action menu to allow users to zip document library items and download all of them either with or without versions.

Features

  • Download all document library items
  • Keep the folder hierarchy
  • Versions: if you are caring about document versions you can download them as well
  • Ability to download only the selected view items instead of all list items

You can download this feature from http://www.codeplex.com/MZakiCustomActions/

 

Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Content Query Web Parts and Anonymous Access

If you have your site enabled for anonymous access and you use Content Query Web Parts (CQWP) when an anonymous user clicks on the links they end up with a "403" forbidden error. As it turns out the CQWP has all links go through the CopyUtil.aspx page instead of linking to the item directly. This page without customization, does not support anonymous access however there are two different workarounds to fix this problem.

Workaround:

1) Override the ContentQuery (ContentQueryMain.xsl) Web Part's XSLT to use "DispForm.aspx" instead of "CopyUtil.aspx".

        <xsl:if test="$UseCopyUtil = 'True'">
            <xsl:value-of select="concat('/_layouts/dispform.aspx?Use=id&amp;Action=dispform&amp;ItemId=',@ID,'&amp;ListId=',@ListId,'&amp;WebId=',
            @WebId,'&amp;SiteId=',$SiteId)"/>
        </xsl:if>

2) Or you can create a custom CopyUtil.aspx page and override the AllowAnonymous property.

Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
SharePoint Meeting Minutes - g_instanceID is not defined

I ran into a problem after I re-inherited a custom master page through an entire MOSS website. After I did this, all the Meeting Minutes workspaces would give a
"g_instanceID is not defined" javascript error.
As it turns out, Meeting Workspaces use a different master page called mwsdefault.master, found in the TEMPLATE\GLOBAL directory in the 12 hive.

To fix this problem in your custom master page you need to:

1. Copy the register Microsoft.SharePoint.Meetings tag prefix from the mwsdefault.master and add it to your custom master page.

<%@ Register Tagprefix="Meetings" Namespace="Microsoft.SharePoint.Meetings" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

2. Then copy the Meetings:PropertyBag control into your custom master page.

<Meetings:PropertyBag runat="server"/>

Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks