Tuesday, March 31, 2009

Steps To Install WSP file using STSADM

Steps To Install WSP file using STSADM
1. Add the solution
stsadm -o addsolution -filename {WSPFILENAME}
2. Deploy the solution
stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
3. Install the feature
stsadm -o installfeature -filename {FeatureFolder}\feature.xml
4. Activate the feature
stsadm -o activatefeature -id {FEATUREID} -url {SITEURL} -force
5. Deactive the feature
Stsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ViewFormPagesLockDown\feature.xml” -ur http://servername/
6.Uninstall the feature
stsadm -o uninstallfeature -filename
7.Retract Solution
stsadm -o retractsolution
-name
[-url]
[-allcontenturls]
[-time]
[-immediate]
8.Delete Solution
stsadm -o deletesolution

Monday, March 23, 2009

Highlighting Search Keyword


you will need to have edit option to the search results web part for this requirement.

1. Go to Site Actions --> Edit Page
2. Click on edit --> Modify shared web part of the Core Search Results Web Part.
3. Click on the XSL editor to view the XSLT.
4. Look for this code
5. Place the bold tag between a span tag i.e.
6. Click on OK and OK on the we part properties.
7. Now you can see the keyword highlighted in yellow color.

Duplicate Search Results


I have a requirement where in i need to maintain documents in versions ( not share point versioning) and on searching for that document i should only be able to view the latest version of the document.

One option in the search core Results web part is available as in the image but it is not effective to its purpose.

Any ideas to achieve this through the Out Of the Box Functionality would really be appreciated.

Ashok