Sunday, 1 October 2017

SharePoint Interview Questions and Answers

1.      What is SharePoint ?

 SharePoint is a browser-based collaboration, content management, and extensible platform from Microsoft.

SharePoint Server allows people to connect and collaborate.

2.      What are the scopes in  SharePoint ?

Object Hierarchy

 

Object

Description

1.       

SPFarm

Represents Farm

2.       

SPServer

Represents Server

3.       

SPService

Represents number of services run in which can include features such as web services or search  services

4.       

SPWebApplication

Represents Web Application configured

5.       

SPSite

Represents Site Collection

6.       

SPWeb

Represents site under site collection

7.       

SPList

Represents List

8.       

SPListItem

Represents List Item


The "SPListCollection" object that represents all the lists in the site.

Each "SPList" object has members that are used to manage the list or access items in the list. 

The "SPFieldCollection" object that represents all the fields, or columns, in the list, and the Items property returns an "SPListItemCollection" object that represents all the items, or rows, in the list.

Each "SPField" object has members that contain settings for the field.

Each "SPListItem" object represents a single row in the list.

3.      Which class is used to retrieve data from multiple lists ?

SPSiteDataQuery class is used to retrieve data from multiple web sites in the same web site collection.

Return a DataTable class which can be used to access the data.

It will only return results from one list type at a time.

SpQuery

Allows for single list only.

Represents a query that can be performed to a single list only.

Return result as SPListItemCollection

          Example                                                                          

SPSiteDataQuery query = new SPSiteDataQuery();
query .ViewFields = “<FieldRef Name=”Title”/>”;
query .Lists = “<Lists ServerTemplate=”101″/>”;
query .Webs = “<Webs Scope=”SiteCollection”/>”;
query .Query = “<Where>” +
“<Contains>” +
“<FieldRef Name=”Title”/>” +
“<Value Type=”Text”>Conditional Parameter </Value>” +
“</Contains>” +
“</Where>”;

SPSite site = new SPSite(http://applicationurl);

SPWeb web = site.OpenWeb();
DataTable dt = web.GetSiteData(query);

dt.Rows[0]["Title"]);


4.      Difference between SharePoint 2010 and SharePoint 2013 ?

           

Features

SharePoint 2010

SharePoint 2013

Social and Collaboration Features

SharePoint 2010 is very few social capabilities

1-My sites

2-Tag and Tag Profile Pages

3-Notes

SharePoint 2013 Added are following new features

1-Intrective feed

2-Comunitive site

3-follow people

4-follows people

Search Features

SharePoint 2010 had Introduced Integrated FAST search as an Enterprise search. In addition to this build-in SharePoint search is still widely used in companies.

SharePoint 2013 includes several enhancements,custom content processing with the Content Enrichment web service, and a new framework for presenting search result types. Some of the features added are

1- Consolidated Search Results

2-Keyword query language (KQL) enhancements

3- Rich Results Framework.

 

Enterprise Content Management (ECM) – Features

SharePoint 2010 had not managed Navigation and Cross-site Publishing.SharePoint designer was a primary tool to modify Master pages instead of the new Design Manager.

SharePoint 2013 added some of the best capabilities of an Enterprise Content Management. There are added following feature

Design Manager

Managed Navigation

Cross-site Publishing

EDiscovery

 

Development Changes Features

1-Sharepoint 2010 used Sandbox solutions to help developers deploy code without effected whole farm.

 2-In SharePoint 2010 you could use Server Object model and Client Object model (.Net Managed, ECMASCRIPT and Silverlight) to extract data from SharePoint.

 3-In SharePoint 2010 developers were also developing Farm solutions as they did with the previous SharePoint 2007 version

 

 

1-In SharePoint 2013 Microsoft Introduced a new Cloud App Model for designing Apps for SharePoint. Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. We can use HTML, CSS, JavaScript and protocols like the Open Data protocol (OData), and OAuth to communicate with SharePoint using Apps.

2- SharePoint 2013 has Introduced new Tools for App development. Visual Studio 2012 now lets you develop apps for SharePoint and apps for Office. In addition a new web-based tools called “Napa” Office 365 Development Tools were introduced for developing apps.

3-No more Sandbox solutions. SharePoint 2013 sandboxed solutions are deprecated. So all we got is the New App model and the Old SharePoint Farm solutions

 


5.      What is Feature ?

A SharePoint Feature is a functional component that can be activated and deactivate at various scopes throughout a SharePoint instances, scope of which are defined as

1.Farm level

2.Web Application level

3.Site level

The two files that are used to define a feature are the feature.xml and manifest file(elements.xml). The feature XML file defines the actual feature and will make SharePoint aware of the installed feature. The manifest file contains details about the feature such as functionality.

Existing Key SharePoint 2010 Features included in SharePoint 2013

  1. Excel Services
  2. Access Services
  3. InfoPath Forms Services
  4. User Profile Service
  5. Search Services
  6. Business Connectivity Services
  7. PerformancePoint Services

New SharePoint 2013 Features

  1. Content Management
  2. Translation Services
  3. Workflow Services
  4. SharePoint Quizzes
  5. Education Services
  6. Work Management Service
  7. Mobile Features

Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


List of SharePoint Interview QuestionsNext SharePoint Interview Questions and Answers

No comments:

Post a Comment