February 2008 - Posts

1
Comments

Programmatically retrieving number of SharePoint site collections inside web application by lavssun

SPFarm myFarm = SPFarm .Local; SPServer myServer = myFarm.Servers[ "SERVER NAME" ]; SPServiceInstance ssi; SPWebService sws; foreach ( SPServiceInstance servinst in myServer.ServiceInstances) { if (servinst.TypeName == "Windows SharePoint...
Filed under:
0
Comments

Office SharePoint ScreenCasts by lavssun

The following are the excellent screencasts related to SharePoint Building ASP.NET Web Parts for Windows SharePoint Services 3.0 Create an ASP.NET Web Part project from scratch and get it up and running within a Windows SharePoint Services 3.0 site. Creating...
Filed under:
0
Comments

Web Part Life Cycle Events by lavssun

There are various web part events in the life-cycle. The following would shed some light to these events and help us to choose these events correctly based on the needs OnPreRender - It is called logically called before Render event of the ASP.NET page...
Filed under:
0
Comments

Catastrophic backup restore through stsadm by lavssun

Scenario Is it possible to perform catastrophic backup and restore through stsadm command line utility? Solution Yes, this can be performed with the help of stsadm command line utility itself. The following would do a complete farm-level catastrophic...
0
Comments

Remove SharePoint 2003 from Server by lavssun

Scenario There is a server running SharePointPortalServer 2003. It has many web applications running SharePoint sites. How to remove SharePoint from just one web application? Solution The unextend functionality of stsadm.exe can be used to remove SharePoint...
0
Comments

Connected Page Viewer Web Part by lavssun

Scenario:- There is a Link web part and a Page viewer web part on the web part page. The requirement is that, whenever a user clicks on a particular link inside Link Web Part it should automatically render the corresponding page inside the page viewer...
Filed under:
0
Comments

Infopath Browser Forms Error The form has been closed by lavssun

Scenario XMLFormView web part is used to render the Infopath browser forms. The XmlFormView web part cannot add to the web part page. It throws error message "The form has been closed" Cause This problem can be due to several reasons. They are...
Filed under:
7
Comments

Configuring MOSS 2007 to search pdf documents - install and configure pdf ifilters by lavssun

There is a requirement to index and search PDF documents inside MOSS 2007. The first thing that comes to my mind is "IFilters". Then I need to choose between the V6 and V8.1 of the IFilters. The advantage of Acrobat Reader V8.1 reader is that...
Filed under:
0
Comments

Setup External Tools Option in Visual Studio by lavssun

Scenario I'm more into SharePoint development these days, especially the development of custom web parts. I felt like I need to remember quite a bit of command line tools for SharePoint development, especially sn.exe which is more commonly used in...
Filed under:
0
Comments

SharePoint Master Page Customization - ASP.NET Image Vs Html Image Controls by lavssun

Scenario We tried to customize the the master page of a SharePoint site (Team Site). The intent was to add banner image and icon to the master page. We edited the master page using SharePoint Designer 2007. We dragged and dropped the image to the master...
Powered by Community Server (Commercial Edition), by Telligent Systems