About Me

I am a Software Engineer presently working in Microsoft as vendor.The main aim of this blog is to Share my knowledge in Sharepoint,AZURE and Silverlight.

Saturday 26 April 2008

Setting our Custom Page as Default Page.

Hi,

I had a Landing Page which is a custom page designed by me for our portal i have to keep it as default page when customers type the address. so i did that in the following way try it if u had the same scenario.

Go to SiteActions->SiteSettings->Modify All Site Settings.
In Look and Feel section select Welcome page.
Browse the LandingPage(Required Custom Page). Click ok.
Click ok.

When you enter the address now you will find the new page as welcome page. :)

Saturday 19 April 2008

Microsoft Windows Server 2008.

Here are the links to find about Microsoft Windows Server 2008.

http://download.microsoft.com/download/c/6/1/c61f02dc-30ac-4d65-9fe5-277de9d13787/CoreInfrastructureImprovementsWS2008.pptx

Thursday 3 April 2008

How to Use stsadm.exe from any where in the commandprompt.

Some cool stuff i'm going to say which helps to every developer who plays with Features.

To install and activate a Feature we will use stsadm.exe where we found it in the bin folder of 12.

we write some batch files to install the features.

Other than that if i need to install a feature i used to go to the Feature folder and paste the stsadm.exe in the respective feature folder and executing from there.

Today ill say u one thing where we can execute stsadm.exe from any where that means we are going to make availiability of stsadm through out the folders.

just we are making it as environment variable to do that follow the steps below:

Goto Start->Settings-> Controlpanel->System.

Click on advanced tab.

Click on Environment Variables button

Select Path in the System variables section and click on edit and append the following in the variable path :

;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN

and click ok and close all the windows.

now you can use the stsadm.exe from any where.

cheers. :)

Wednesday 2 April 2008

How to Deploy MasterPages.

Today i'll Blog how to deploy Masterpages after development.

I had this issue i developed Masterpage for my project and we need to deploy that to the different boxes like Sit(system integration testing),UAT(user acceptance testing)and Production.

So i got a chance to look in to this , because i done the masterpage development which is very interesting part but the question is how to deploy the developed one.

So here is the answers for this:

1)To create the Master page using sharepoint designer in each individual box.This makes the masterpage to be stored in the contentdatabase.(not supported as work is repetetion)

2)Creating the masterpage in 12 folder. and adding file tag in the module tag in the file provisionedFiles.xml

Using this approach the masterpages gets visible when we create new site collection.

3)Making a Feature.

I am going with Feature as we have already production site where we have to activate the feature once in the site collection.