Saturday, March 13, 2010

Security Validation Error i sharepoint Pages in MOSS 2007

When you edit a sharepoint page and try to add content to the page, this error appears. To avoid this error there are 2 solution.

1. Go to Central Administration --> Web Application General Settings under Application Tab

select the web application for which yo wish to turn of this validation error.

in the security validation section select off and click on OK.

This is actually a threat to the site security, This is only recommended for a dev or local site.

2. This is a recommeded way.

Add this tag in the top of you master page.
<%@ Register Tagprefix=”SharePoint” Namespace=”Microsoft.SharePoint.WebControls” Assembly=”Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c” %>

Include the following tag as shown below after the form tag

Sunday, December 6, 2009

Search features in Sharepoint 2010

1. Interactive Search Experience – A richer search experience providing flexible navigation, refinement and related searches was built. Both Standard and FAST Search for SharePoint get query completion, spell checking, wild cards and more. FAST enhances this experience enabling feature content for common queries and providing more flexible navigation and document thumbnails and previews including in slide navigation of PowerPoint presentations which is a common end user scenario.

2. Relevance – We improved the out-of-box ranking and expanded the relevance factors including social data such as tagging and usage (clicks). FAST Search adds more configurable set of relevance inputs for custom applications and specialized corpuses.

3. People Search – We greatly improved people finding based on social networking and expertise algorithms and tailored user experience for people including getting views of authored content. As users frequently do not know or recall the spelling of people’s names, we built a new phonetic search algorithm that works much better than previous approaches to spell checking for names. In testing, we had a lot of fun coming up with crazy ways to misspell each others' names to see if we could stump it.

4. Connectivity – We know lots of data lives outside SharePoint so expanded and improved our connectors to index web sites, file servers, SharePoint, Exchange, Lotus Notes, Documentum and FileNet. The updated Business Connectivity Services (previously the BDC) described below makes it much easier to index an arbitrary source such as a custom database. You can create this search connection without code using the new SharePoint Designer.

5. Scale and Platform Flexibility – We made significant performance and scalability improvements through our search technology. Optimizing for 64-bit helped but we also introduce partitioned indices and scale-out query servers in SharePoint search this release. FAST scales-out even further and has significantly more pipeline extensibility to handle the largest collections and most complex value-added processing and search applications. We think both end users and IT will be immediately excited about the new capabilities supporting hundreds of millions of documents with great index freshness and query latency.

Changing Page Layout for a page

1. Click on Site actions --> Edit Page to view the page in edit mode.
2. Click on page --> Page settings and schedule in the editing tool bar
4. Now you can change the page layout for the page.

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