Thursday, September 25, 2008

Very rare Sharepoint Interview questions from top MNC's Part - I

1. What is connectable webparts and how to deploy them using custom webparts.
2. What is webpart from which class you will import the webpart, what are the methods of it, how to add controls to webpart
3. Differences b/w sps 2003 and Moss 2007
4. what is search? how do you configure it.
5. Have to implement custom development with the search.
6. what is the content type?
7. explain about master pages, page layouts
8. what is the code you write to access/insert document in doc library
9. By default sharepoint site is public or private
10.Is it possible for sharepoint to connect to other datasources apart from SQLServer, how you can do that.
11.How to expose sharepoint site to internet.
12.what is infopath farm, how you create, deploy infopath farm?
13.what is infopath farm, how you create, deploy infopath farm?
14.If the customized page is revert back(ghosting) does this page is served from the Cache?
15.If there are Site collection and if there is a subsite under the site collection, if the user modifies subsite then the new copy will be created only for subsite or entire site collection
Stay glued for more qn's

Wednesday, July 23, 2008

Differences between site definition and site templates

Site Template

The first option for getting the SharePoint Designer changes beyond the current site is to take the site you've modified with SharePoint designer and save it as a template. Then when you need a new site you create it from the site template you've created. This approach works but it means that you either have to create a new site template for each of the built in site definitions -- or you have to live with just the one site template that you've created. It also means that you can't go back and apply the changes after they've been created.
Finally, to add insult to injury, if you ever change the work that you did on the original site those changes won't be reflected across the other SharePoint sites that were created from the template because each page exists separately in the database. So site templates solve the problem of getting SharePoint Designer changes into multiple sites but without the ability to adapt to changes in the future.

Site Definitions
solve the problem of site templates in that changes can be affected to them after they've been created -- but at the cost of additional work. Site definitions exist on the file system of each of the front end web server unlike site templates which exist in the content database. Each site which is created from the site definition doesn't make a copy of the page in the database, instead it stores a pointer to the site definition file. The good news is that when the page on the file system changes it changes all of the references in the database -- thus solving the problem of making changes to existing branding.
In order to do a site definition, you'll first have to get the changes to the files that you want into files. You can do this from SharePoint Designer by selecting Save As and pointing to a directory. From there you have to create the support files for the site definition including the ONET.XML file which drives how the site definition is used, and the WEBTEMP*.XML file which makes the site definition show up as an option. In most cases you'll copy the STS site definition that comes with SharePoint and make your changes there rather than starting from scratch.