Monday, May 25, 2009

Deploying SharePoint 2007 Site On Client-Side

Download the WSP Builder from the follwing URL:

http://wspbuilder.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=25962

* Download the 1st one.

Install it on the Production Server

Open Visual Studio > Create Project > Visual C# > Click on WSP Builder Project > Create.

You can see the '12' folder in the Solution Explorer. This is basically a 12 hive folder which is in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\

Go to this Folder. Now, You need to know the Custom Files which your Production/Development Staff of the project developed for the particular project.

If there are Custom Files > Create the folder which contains Custom Files under 12 hive in the VS WSP Builder Project at the same level with the same name and case.

If your project contains dlls as well then create a folder in your VS WSP Builder Project with a name GAC on the same level of 12 folder. Add the dlls in this folder.

All Files copied. Now, Right Click on WSP Builder Project and > WSP Builder > Build.


Now, You need to take abc.wsp and import file to the Client's Location.

On the Client's Server.

Follow the Steps:

Copy both files in C:\

Open Command Prompt. Go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin

Write following commands.

> stsadm.exe -o addsolution -filename C:\YourFile.wsp
> stsadm.exe -o deploysolution -name YourFile.wsp -url http://servername -immediate -allowgacdeployment -force
iisreset
stsadm.exe -o createweb -url http://servername/YourSite
stsadm.exe -o import -url http://servername/YourSite -filename C:\Import.cmp
> iisreset

If there are Features in the WSP Project then add these lines after import and iisreset

stsadm -o installfeature -filename YourFeatureFolderl\\feature.xml -force
stsadm -o activatefeature -filename YourFeatureFolderl\\feature.xml -url http://servername/YourSite

(Repeat the last 2 steps of Feature for every feature)

> iisreset



That's It


How do you add an Announcements web part to a collaboration portal home page?

Browse to collaboration portal

Site Actions > Site Settings > Modify All Site Settings

Site Administration > Site Libraries and lists

Create new content

Communications > Announcements

 

Now the new announcements list is on the web site. To add a web part to view the content of the announcements do the following:

 

 

Browse to the page you want to add it to (I used the home page of the collaboraiton portal)

Site Actions > Edit Page

From the Page menu click Add Web Parts > Browse

Click Filter in the Add Web Parts pane on the RHS

Choose Lists from the Show drop down

Select the new announcements list web part

Click Add

Monday, May 11, 2009

collection-of-free-webparts

As you might already noticed that, i have a habit of posting links to the free webparts I find on the net, here comes another list of free web parts. This collection of the webparts are meant for wss 2.0/sps 2003 and ranges from banners to quick launch utls. But I guess we can make them work for the new 2007 system. I haven’t tried them yet. If I get them working I will keep you informed. Untill then play with this webparts and let me know the results!

Liink: http://www.sharepointhq.com/products/all_free_webparts.htm

how to add themes in sharepointt

if u want to upload theme in sharepoint

the following steps u have to follow

1.goto c:/program files/common files/microsoft shared/web server extensions/12/

2.select template option

3.go to themes

4.copy the existing theme (or) if u have ur own theme then paste here

5.once u paste is done

6 goto images folder and put ur preview images

7.then after wards goto layout/1033/ under this select SPTHEMES.XML

open with notepad

copy the existing template and paste

rename the template id what u have given name for theme

display name

description

thumbnail(what u placed in image folder)

preview image (what u placed in image folder)

then save

goto site actions->site settings->under look and feel select site theme

choose ur uploaded theme

then enjoy

if u get any error plaease mail me

How to enable advanced search in a new site collection

When you create an additional site collection under a managed path, the standard search settings do not show and advanced search link. Providing that your root site collection contains a search centre this can be fixed. I have created my root site collection based on the Publishing / Collaboration portal template.
I have created a site collection based on the team template. This is what the standard search drop down looks like.








Go to Site Actions, Site Settings. Then select Seach Settings from the Site Collection Administration group. Below is the default settings. Note how it defaults to do not custom scopes.







Now change the setting to use custom scopes, and enter the following relative URL /SearchCenter/Pages (as per the example on the page). See below.



Once you OK this a browse to the team site collection home you will now see the additional scopes on the drop down of ‘All sites’ and ‘People’ plus a link to advanced search.



after that u will get an error called 404

for that

you have to do one thing
like goto site actions ->site settings->sites and workspace ->then select in the template search with tab then press ok
then it will work