Click on this icon to open the XML page.Tom Van Gaever - Blog
Search:   

Broken Web Parts fix 
Monday, June 23, 2008, 20:23 - SharePoint
Posted by Administrator
Have you ever had a web-part that started creating errors that wouldn't allow you to get to your page for editing it? Here's a cool little tip that might get you up and going with much less frustration.

Append ?contents=1 to the end of your URL for the page that contains your problematic web part. This will take you to the web-parts management page that will allow you to remove the troublesome web-part from the page.

https://<server>/<site>/?contents=1


add comment ( 5 views )   |  permalink   |  related link   |   ( 3 / 502 )
Standard Site Definitions within SharePoint 2007 (MOSS) 
Wednesday, June 11, 2008, 14:22 - SharePoint
Posted by Administrator
The standard Site Definitions provided by SharePoint can be found below:
Site Definitions
GLOBAL#0 = Global template (1033)
STS#0 = Team Site (1033)
STS#1 = Blank Site (1033)
STS#2 = Document Workspace (1033)
MPS#0 = Basic Meeting Workspace (1033)
MPS#1 = Blank Meeting Workspace (1033)
MPS#2 = Decision Meeting Workspace (1033)
MPS#3 = Social Meeting Workspace (1033)
MPS#4 = Multipage Meeting Workspace (1033)
CENTRALADMIN#0 = Central Admin Site (1033)
WIKI#0 = Wiki Site (1033)
BLOG#0 = Blog (1033)
BDR#0 = Document Center (1033)
OFFILE#0 = Records Center (1033)
OFFILE#1 = Records Center (1033)
OSRV#0 = Shared Services Administration Site (1033)
SPS#0 = SharePoint Portal Server Site (1033)
SPSPERS#0 = SharePoint Portal Server Personal Space (1033)
SPSMSITE#0 = Personalization Site (1033)
SPSTOC#0 = Contents area Template (1033)
SPSTOPIC#0 = Topic area template (1033)
SPSNEWS#0 = News Site (1033)
CMSPUBLISHING#0 = Publishing Site (1033)
BLANKINTERNET#0 = Publishing Site (1033)
BLANKINTERNET#1 = Press Releases Site (1033)
BLANKINTERNET#2 = Publishing Site with Workflow (1033)
SPSNHOME#0 = News Site (1033)
SPSSITES#0 = Site Directory (1033)
SPSCOMMU#0 = Community area template (1033)
SPSREPORTCENTER#0 = Report Center (1033)
SPSPORTAL#0 = Collaboration Portal (1033)
SRCHCEN#0 = Search Center with Tabs (1033)
PROFILES#0 = Profiles (1033)
BLANKINTERNETCONTAINER#0 = Publishing Portal (1033)
SPSMSITEHOST#0 = My Site Host (1033)
SRCHCENTERLITE#0 = Search Center (1033)
SRCHCENTERLITE#1 = Search Center (1033)
SPSBWEB#0 = SharePoint Portal Server BucketWeb Template (1033)
HTH
add comment ( 6 views )   |  permalink   |  related link   |   ( 3 / 470 )
SPWeb themes and Icons 
Wednesday, June 11, 2008, 09:27 - SharePoint
Posted by Administrator
here's my small code snippet that enables an administrator to change the theme and the icon of an entire sitecollection at once.

here it is:
public enum SPSiteThemes {
none,
classic,
simple,
Belltown,
Breeze2,
Cardinal,
Citrus,
Granite,
Jet,
Lacquer,
Lichen,
Obsidian,
Petal,
Plastic,
Reflector,
Verdant,
Vintage,
Wheat
}


private void ApplyThemeToWeb(SPSiteThemes Theme, SPWeb Web, bool Recurse)
{
Web.ApplyTheme(Theme.ToString());
if (Recurse) {
foreach (SPWeb subweb in Web.Webs) {
try
{
ApplyThemeToWeb(Theme, subweb, Recurse);
}
finally {
subweb.Dispose();
}
}
}
Web.Update();
}

private void ApplyIconToWeb(string IconURL, SPWeb Web, bool Recurse)
{
Web.SiteLogoUrl = IconURL;
Console.WriteLine(Web.Title + " updated to " + IconURL.ToString());
if (Recurse)
{
foreach (SPWeb subweb in Web.Webs)
{
try
{
ApplyIconToWeb(IconURL, subweb, Recurse);
}
finally
{
subweb.Dispose();
}
}
}
Web.Update();
}



add comment ( 7 views )   |  permalink   |   ( 3 / 497 )
46 new AJAX.NET Examples 
Friday, June 6, 2008, 14:03 - AJAX.NET
Posted by Administrator
There are 46 new tutorials added to the AJAX.NET website.

here
add comment ( 6 views )   |  permalink   |  related link   |   ( 3 / 579 )
Finally Visual Studio 2008 support for sharepoint development 
Friday, June 6, 2008, 10:12 - SharePoint
Posted by Administrator
Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2

An overview:

Tools for developing custom SharePoint applications: Visual Studio project templates for Web Parts, site definitions, and list definitions; and a stand-alone utility program, the SharePoint Solution Generator. Please also download the User Guide and Samples listed in Related Resources.

The User Guide for this tool can be found here

The 1.1 version can be found here for Visual Studio 2005 support: Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1

Version 1.2 of the Visual Studio 2008 Extensions for Windows SharePoint Services contains the following tools to aid developers in building SharePoint applications:

Visual Studio 2008 Project Templates Web Part
Team Site Definition
Blank Site Definition
List Definition
Empty SharePoint Project
Visual Studio 2008 Item Templates (items that can be added into an existing project)
Web Part
Custom Field
List Definition (with optional Event Receiver)
Content Type (with optional Event Receiver
Module
List Instance
List Event Handler
Template

SharePoint Solution Generator
This stand-alone program generates a Site Definition project from an existing SharePoint site. The program enables developers to use the browser and Microsoft Office SharePoint Designer to customize the content of their sites before creating code by using Visual Studio.

DOWNLOAD

add comment ( 4 views )   |  permalink   |   ( 3 / 490 )

<<First <Back | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Next> Last>>