Monday, 7 May 2007

SharePoint 2007: DataViews - the best most flexible SharePoint toy (and how to solve rich text field HTML problems)

I have recently discovered the wonder that is a Data View web part. This web part is an invaluable tool in creating different views of data in your sites (or from external sources).

One of the things I have used it for is to display data from two list linked via a lookup. There are tons of pages on Data Views.

One of the weird things I found with the Data View was that when I tried to display data from a Rich Text field (containing rich formatting) I got a number or <div> and other HTML characters, which obviously were very unsightly.

To remove these, in SharePoint Designer I found the <xsl:value-of select="@your rich text field"> for the column and added the disable-output-escaping="yes" tag to it i.e.

from

<xsl:value-of select="@your rich text field">

to

<xsl:value-of select="@your rich text field" escaping="yes">

Friday, 4 May 2007

SharePoint 2007: Becoming Administrator of Entire Web Application

Becoming Administrator of Entire Web Application http://msmvps.com/blogs/shane/archive/2007/01/21/become-administrator-of-the-entire-web-application.aspx

  • You can choose to set a number of policies for each web application including setting the administrators (group) as having Full Access, thus becoming administrator of the entire web applications.
  • Go to SharePoint Central Administration > Application Management
    Under Application Security click on Policy for Web Application > Add Users
  • Confirm your settings on the screen (defaults should be what you want) and click Next
  • Now enter your user or group of users
  • Click the box beside Full Control – Has full control (or the policy which you want to apply to that group) and Click Finish.

Cheers to Shane :)

SharePoint 2007: Link dump

Unhiding and hiding content types
http://blogs.vertigo.com/personal/willa/Blog/Lists/Posts/Post.aspx?ID=8

SharePoint Lists from Reporting Services
http://www.teuntostring.net/blog/2006/04/using-sharepoint-lists-extension-on.html

Customizing the Content Query Web Part
http://www.sharepointblogs.com/vandest/archive/2006/06/20/8495.aspx http://msdn2.microsoft.com/en-us/library/ms497457.aspx


Data View Tips from Mark Kruger
http://www.sharepointblogs.com/mkruger/archive/2006/05/12/dataviews.aspx

Create a view that shows all announcements in the site collection
CrossList Mode - query for items across multiple lists in multiple Web sites in the same site collection e.g. “show all tasks that are due today”, “show all documents created by me in the site collection”, or “show all announcements in the site collection”.
http://blogs.msdn.com/sharepointdesigner/archive/2007/04/24/spdatasource-and-rollups-with-the-data-view.aspx

SharePoint Security
http://sharepointsecurity.com/

Debugging SharePoint
http://blogs.msdn.com/sharepoint/archive/2007/04/10/debugger-feature-for-sharepoint.aspx

Customise SharePoint Style Sheets
http://www.heathersolomon.com/content/sp07cssreference.htm

Hiding the Quick Launch
http://www.wssdemo.com/blog/Lists/Posts/ViewPost.aspx?ID=268

Custom 404 Error Pages
http://blogs.msdn.com/jingmeili/archive/2007/04/08/how-to-create-your-own-custom-404-error-page-and-handle-redirect-in-sharepoint-2007-moss.aspx

Editing Pages with SharePoint Designer
http://www.sharepoint-tips.com/2007/04/sharepoint-designer-article-1-how-to.html

Technet Virtual Labs - get your hands dirty for free
http://www.microsoft.com/technet/traincert/virtuallab/default.mspx

SharePoint Logical Architecture Design
http://blogs.msdn.com/sharepoint/archive/2007/04/09/investing-in-logical-architecture-design-samples.aspx

Installing MOSS Successfuly
http://www.sharepointblogs.com/sharepointdiary/archive/2007/04/11/how-to-install-configure-moss-2007-successfully.aspx