August 2007 Entries

Creating and deploying VSTO Documents inside SharePoint Document Libraries

This is a repost of an article that was lost due to a server crash.   Visual Studio Tools for Office (VSTO) Documents can be deployed to or utilized as templates for a SharePoint Document Library. The process to develop VSTO Documents, deploy them to the SharePoint server, and set the proper security policies on the client machine in order for the documents to run properly can be easily repeated once you understand all the pieces of the puzzle. I have not been able to find complete documentation for this process on the Internet to date. I have found several web pages...

posted @ Thursday, August 16, 2007 9:27 PM | Feedback (11)

Creating a custom Site Definition in WSS V3 / MOSS

Update 11-22-2009:  See this blog post if you would like to see how to do this in SharePoint 2010. The new version WSS 3.0 / MOSS 2007) of SharePoint brings some changes to the way Site Definitions are created and deployed to a SharePoint server. Additionally, the way Site Definitions are now architected has changed with the advent of Features. Although FrontPage 2003 has been significantly enhanced to become the Office SharePoint Designer, Features allow for more flexible deployments of functionality within SharePoint, and Master Pages allow us to change the look and feel of many sites inside SharePoint with a...

posted @ Thursday, August 16, 2007 9:20 PM | Feedback (35)

Adding a Document Library Feature to a Site Definition in WSS V3 / MOSS 2007

This is a repost of an article that was lost due to a server crash. One of the nicest things about Features in the new version of SharePoint is their ability to be added to a Site Definition by default. When you add a Feature to a Site Definition, that Feature is automatically available on a SharePoint site when you create a SharePoint site from the given Site Definition. This functionality allows developers to build Features and plug them into any Site Definition they choose. In the last version of SharePoint, functionality that can now be delivered in the form...

posted @ Thursday, August 16, 2007 9:17 PM | Feedback (14)

Creating a Custom Document Library Feature in WSS V3 / MOSS 2007

This is a repost of an article that was lost due to a server crash. Features are a powerful new set of functionality that MOSS 2007 comes with out of the box. Features allow you to deploy functionality inside your MOSS 2007 portal in a granular and loosely coupled fashion. The Document Library that many of the out of the box site definitions come with in MOSS 2007 is implemented as a feature. Building on this out of the box Document Library Feature you can create your own custom Document Library Features as well. Feature Basics To begin, let’s take...

posted @ Thursday, August 16, 2007 9:12 PM | Feedback (34)

Connected Page Viewer Web Part

This is a repost of an article on my blog that was lost during a server failure.  Historically, this has been one of the most popular articles on my blog, so I dug up the code and put it back online. The code you will find below is for a Connected Page Viewer Web Part for WSS V2 and SPS 2003.  The Connected Page Viewer Web Part consumes a URL from another Web Part that provides URLs.  This Web Part WORKS GREAT in WSS V3 and MOSS 2007 as well. Enjoy! using System;using System.Web.UI;using System.Web.UI.WebControls;using System.ComponentModel;using System.Xml.Serialization;using System.Security;using System.Security.Permissions;using Microsoft.SharePoint;using Microsoft.SharePoint.Utilities;using Microsoft.SharePoint.WebPartPages;using Microsoft.SharePoint.WebPartPages.Communication;using System.Text;using...

posted @ Thursday, August 16, 2007 8:11 PM | Feedback (20)