Thursday, December 29, 2011

SharePoint Faq's


What is the difference between a Site Definition and a Site Template in SharePoint Portal

         Site Definitions are stored on the hard drive of the SharePoint front end servers. They are used by the SharePoint application to generate the sites. 
     Site Templates are created by users as a copy of a site they have configured and modified so that they do not have to recreate lists, libraries, views and columns every time they need a new instance of a site.
What is the Main Difference between listItem.Update() and ListItem.SystemUpdate()?
To update a list item we have two ways. One of them is SPListitem.Update() and  SPListitem .SystemUpdate()

SPListitem.Update is most popular way. But this method is change version history and trigger all alerts.

SPListitem .SystemUpdate():  Some times, some reason you can want to avoid change version history or triggering allerts. Like this case, SpListitem.SystemUpdate medhod help us. Because that SystemUpdate() is not changing with out effecting version history,Modified By and Modified Time.

What is a Content Type?
Content Type:-
      A content type is a reusable collection of settings you want to apply to a certain category of content. Content types enable you to manage the metadata and behaviors of a document or item type in a centralized, reusable way.
• To enable Content type in particular list go to list settings->Advanced Settings->click allow management of content types.
• When you add a site content type to a list, SharePoint copies a local copy of the site content type onto the list itself. This local instance is called a list content type and applies only to the list onto which it was copied.


Which are default master pages in Sharepoint 2010? 

1. v4.master - This is default master page. 
2. default.master - this is used to support the 2007 user interface 
3. minimal.master - The search pages by default now use minimal.master.
4. simple.master- it is used for accessdenied.aspx, confirmation.aspx, error.aspx, login.aspx, reqacc.aspx, signout.aspx & webdeleted.aspx pages.




What is a delegate Control in SharePoint?

SharePoint provides a mechanism that allows developers to customize out-of-the-box functionality in pages, without the need for modifying the pages that come with SharePoint. This mechanism is provided with delegate controls.

Definition

First off, it’s important to understand what a delegate control is, so we can properly create and apply it in the specific situation we are developing for. A delegate control defines a region in an aspx page that allows the content to be replaced with our custom content. This custom content is created via a SharePoint feature, and when deployed and activated, replaces the standard content at runtime.  


No comments:

Post a Comment