Skip to main content

Posts

Sharepoint interview questions

Difference between Site Template and Site Definition <<http://www.c-sharpcorner.com/uploadfile/Roji.Joy/differences-between-site-definition-and- site-templates/>> http://msdn.microsoft.com/en-us/library/aa979683 What is feature stapling http://www.etechplanet.com/blog/understanding-feature-stapling-in-sharepoint-7c-stapling - features-to-site-definitions.aspx http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/01/11/feature-stapling-in-sharepoint - 2010.aspx http://msdn.microsoft.com/en-us/library/bb861862(v=office.12).aspx difference between sharepoint 2007 and 2010 solution << http://www.milesconsultingcorp.com/SharePoint-2007-versus-2010 - comparison.aspx#SoftwareDevelopmentChanges>> feature upgrade steps http://www.sharepointnutsandbolts.com/2010/06/feature-upgrade-part-1-fundamentals.html http://www.rharbridge.com/?page_id=103 http://blog.petermunch.net/2010/04/30/versioning-and-upgrading-your-features-with - sharepoint-2010-application...

Sharepoint 2010 Search auto suggest

Sharepoint 2010 has a new OOB search auto complete feature. This is a pre search added enhancement new in sharepoint 2010. If the keyword is entered 5 times, the sixth time onwards it would be shown to the user while typing the keyword. Admins can add certain keywords to the query database, using powershell. Details on how to do it can be found in http://technet.microsoft.com/en-us/library/hh148698.aspx Using powershell and csv file to add multiple keywords is exlpained in http://get-spscripts.com/2010/07/add-pre-query-search-suggestions-with.html Custom sandbox solution for the same can be read in http://www.sharepointusecases.com/index.php/2010/04/search-autocomplete-for-sharepoint-2010-lists/

Add custom tab for search in MOSS 2007

The requirement was to have a custom tab which would get search results only from one site in the site colletion Steps done In the SSP, do the following 1. Create a new content source, with the site url and setting "Crawl only the SharePoint Site of each start address" selected 2. Create a new scope - Add rule to include content from the newly created custom content source 3. On the all site content source, add a new rule to exclude content from the custom content source 4. Run a full crawl on custom content source In the Site Settings, do the following 1. In Site Collection Administration settings - click on Search Scopes 2. Create a new display group  and select the custom scope created 3. Go to Search site and create customsearch page, customsearchresults page and customadvancedsearch page 4.In Search site, default page , click on Edit page 5.Click on Add New Tab and for Page, give the newly created search page url. Click ok and publish 6. Click on Custom ta...

Display an icon in search results page in MOSS 2007 to indicate pictures in the list item

The custom list had a column called as Snapshots which was of the type Hyperlink or Picture. The need was to customize the search results page to display an indicator for list items with images. To do so, go to SSP - Search Settings - Metadata properties - New Managed property In the New Managed Property window, do the following- Enter the property name and select the property type as text In Mappings to crawled properties - select 'Include values from a single crawled property based on the order specified' Click on Add mapping and find the custom list column and click Ok Click OK on the managed property window. Then Do a full crawl Edit the search results page and edit search core results webpart In Result Query option - selected columns, add the custom column In the XSL editor - add the following <xsl:variable name="Customicon"> <xsl:value-of select=" <enter the column name> " /> </xsl:variable> <xsl:choose> ...

SP2013 preview beta available

Check out for more info on SP2013 Preview http://technet.microsoft.com/en-us/sharepoint/fp142366 http://sharepoint.microsoft.com/en-us/preview/sharepoint-resources.aspx 2013 sharepoint http://msdn.microsoft.com/en-US/sharepoint/fp123576 To know more about Sharepoint Apps http://msdn.microsoft.com/en-us/office/apps/fp160950.aspx http://msdn.microsoft.com/en-us/library/office/apps/jj220030(v=office.15 )

The URL 'XXX' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.

When trying to upload document or attachment, the error "The URL 'XXX' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. " comes up. This could come up if Sharepoint 2010 is installed as stand-alone server and the content DB has reached 4GB. When SP2010 is installed as stand-alone server, it stores all the databases in SQL Express 2008, which comes bundled with SP2010. It would not configure to any other server instances, even if it is installed in the server. To resolve the issue, refer the link http://www.smattie.com/2012/04/14/how-to-fix-sql-server-express-db-size-limitation-of-4-gb/ Or else take a backup of the farm and uninstall Sharepoint 2010 and reinstall as a single server farm installation. Configure it with SQL 2008 developer or enterprise edition or with SQL 2008 R2 edition. Restore the content DB to the new setup and perform a DB upgrade command on the restored content DB. ...

How to change the time zone for Sharepoint 2010 Central Admin, Web Application and Sites

To change the time zone for the Web Application - 1. Go to Central Admin - Application Management - Under Web Applications, select Manage Web Applications 2. Select the webapplication required, and on the ribbon select General Settings - General Settings 3. In the new window, select the default time zone required. To change the time zone for the Site - Go to Site Actions - Site Settings - Reginal Settings To change the time zone for Central Admin - There is no direct url present from central admin to change the timezone Add /_layouts/regionalsetng.aspx after the central admin url to get the regional settings window E.g. the url would be http://<servername>:<portno>/_layouts/regionalsetng.aspx