Showing posts with label SharePoint Interview. Show all posts
Showing posts with label SharePoint Interview. Show all posts

Wednesday, 12 November 2014

Polaris Sharepoint Interview

• What is Office 365 , SharePoint online?
• How does  SharePoint online actually work?
• What is the use of SQL server in SharePoint & use of Virtual path provider?
• What is Ghosting and UnGhosting in SharePoint?
• How can we create a site in SharePoint online?
• How can we Customize a SharePoint Site?
• What kind of ready made functional modules exists collaboration?
• Can you display a simple Custom Page in SharePoint?
• How can we implement behind code ASPX pages in SharePoint?
• What is the concept of features in SharePoint?
• I want a feature to be only displayed to admin?
• How do we debug SharePoint error’s?
• Why customized pages are parsed using no-compile mode?
• Can you explain SPO model?
• How can we use custom controls in SharePoint?
• How can we display ASCX control in SharePoint pages?
• What is WebPart and App Part?
• How can we achieve customization and personalization using App Part?

Monday, 7 July 2014

SharePoint Interview

1. Initiation Vs Association, Task Forms difference
2. How the site page renders by IIS
3. Architecture of sharepoint
4. Linked web part
5. Types of configurations in Sharepoint and its class name
6. Can a single web part can act as a consumer and provider
7. Is SPContext is the best way to access the web?
8. Consumer and provider base class and override methods
9. Deployment farm solution types and steps - WSP Central admin, Power shell script and STS
10. Loop using SPD Workflow.
11. What are new event handlers in sharepoint 2010 and 2013
12. There are 2 wsps (Package A and Package B). Package B has dependency on Package A and we need to make sure Package A is installed before installing Package B. How to implement this?
12. What is the main usage of app's in 2013
13. Diff b/w Visual webpart and normal webpart (what is use of render contents,page load & create child control methods)
14. Tell me about timer job?(he asked some scenario but i didn't understand)

Monday, 30 June 2014

SharePoint Interview

What does AllowUnsafeUpdates do?
If your code modifies Windows SharePoint Services data in some way, you may need to allow unsafe updates on the Web site, without requiring a security validation. You can do by setting the AllowUnsafeUpdates property. C#:
view sourceprint?
using(SPSite mySite = new SPSite("yourserver"))
{ using(SPWeb myWeb = mySite.OpenWeb())
{
myWeb.AllowUnsafeUpdates = true;
SPList interviewList = myWeb.Lists["listtoinsert"];
SPListItem newItem = interviewList.Items.Add();
newItem["interview"] = "interview";
newItem.Update();
}
}


What does RunWithElevatedPrivileges do?
Assume that you have a Web Part in which you want to display information obtained through the Windows SharePoint Services object model, such as the name of the current site collection owner, usage statistics, or auditing information. These are examples of calls into the object model that require site-administration privileges. Your Web Part experiences an access-denied error if it attempts to obtain this information when the current user is not a site administrator. The request is initiated by a nonprivileged user. you can still successfully make these calls into the object model by calling the RunWithElevatedPrivileges method provided by the SPSecurity class. C#:
view sourceprint?
SPSite siteColl = SPContext.Current.Site;
SPWeb site = SPContext.Current.Web;
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite ElevatedsiteColl = new SPSite(siteColl.ID))
{
using (SPWeb ElevatedSite = ElevatedsiteColl.OpenWeb(site.ID))
{
string SiteCollectionOwner = ElevatedsiteColl.Owner.Name;
string Visits = ElevatedsiteColl.Usage.Visits.ToString();
string RootAuditEntries = ElevatedSite.RootFolder.Audit.GetEntries().Count.ToString();
}
}
});


- What is a SharePoint Feature? What files are used to define a feature?
A SharePoint Feature is a functional component that can be activated and deactivate at various scopes throughout a SharePoint instances.
Scopes include
• Farm
• WebApplication
• Site (site collection)
• Web (site)
Features have their own receiver architecture, which allow you to trap events such as when a feature is
• installing
• uninstalling
• activated
• deactivated
The element types that can be defined by a feature include
• menu commands
• link commands
• page templates
• page instances
• list definitions
• list instances
• event handlers
• workflows
The two files that are used to define a feature are
• feature.xml
• 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.
Common stsadm commands associated with feature are
• stsadm -o installfeature
• stsadm -o uninstallfeature
• stsadm -o activatefeature
• stsadm -o deactivatefeature


- What are content types ?
A content type is a flexible and reusable WSS type definition that defines the columns and behavior for an item in a list or a document in a document library.
For example,
-you can create a content type for a customer presentation document with a unique set of columns, an event handler, and its own document template.
-You can create a second content type for a customer proposal document with a different set of columns, a workflow, and a different document template.
Then you can attach both the contenttypes to a document library, which allows you to capture metadata based on the contenttype selected during creation of the document.


Content type can be created by the following
• from the rootweb of a site collection, go to Site Action > Site Settings > Galleries > Site content types
• using a feature


Workflow can be applied to what all elements of SharePoint ?
While workflow associations are often created directly on lists and document libraries, a workflow association can also be created on a content type that exists within the Content Type Gallery for the current site or content types defined within a list.
In short, it can be applied ...
• At the level of a list (or document library)
• At the level of a content type defined at site scope
• At the level of a site ( Sharepoint 2010 )


- What are the ways to initiate the workflow ?
• Automatic (on item added or item deleted)
• Manual (standard WSS UI interface)
• Manual (Custom UI Interface)
• Programatically through custom code


7. What are the types of input forms that can be created for a workflow ?
You can create four different types of input forms including an association form, an initiation form, a modification form, and a task edit form. Note that these forms are optional when you create a workflow template.


8. What are ways to create input forms for workflow ?
Two different approaches can be used to develop custom input forms for a WSS workflow template.
• You can create your forms by using custom application pages, which are standard .aspx pages deployed to run out of the _layouts directory. ( disadv: lot of code required when compared to Infopath approach)
• using Microsoft Office InfoPath 2007 (disadv: picks up a dependenct on MOSS, i.e. it cannot run in a standalone WSS environment)


9. What is the difference between method activity and event activity in WF ?
A method activity is one that performs an action, such as creating or updating a task. An event activity is one that runs in response to an action occurring.


10. What does SPWeb.EnsureUser method do?
Checks whether the specified login name belongs to a valid user of the Web site, and if the login name does not already exist, adds it to the Web site. e.g SPUser usr = myWeb.EnsureUser("mmangaldas");


11. While creating a Webpart, which is the ideal location to Initialize my new controls ?
Override the CreateChildControls method to include your new controls. To make sure that the new controls are initialized.. call 'EnsureChildControls' in the webparts Render method. You can control the exact Rendering of your controls by calling the .Render method in the webparts Render method.


12. How to query from multiple lists ?
Use SPSiteDataQuery to fetch data from multiple lists. more details..


13.How Does SharePoint work?
The browser sends a DAV packet to IIS asking to perform a document check in. PKMDASL.DLL, an ISAPI DLL, parses the packet and sees that it has the proprietary INVOKE command. Because of the existence of this command, the packet is passed off to msdmserv.exe, who in turn processes the packet and uses EXOLEDB to access the WSS, perform the operation and send the results back to the user in the form of XML.


14. What is the difference between Syncronous & Asyncronous events?
Syncronous calls ending with 'ing' E.g. ItemDeleting Event Handler code execute BEFORE action is committed WSS waits for code to return Option to cancel and return error code
Asyncronous calls ending with 'ed' E.g. ItemDeleted Event Handler code executes AFTER action is committed WSS does not wait for code to return Executed in its own Worker thread.


15. What is ServerUpdate() ?
Any changes in the list, i.e. new addition or modification of an item.. the operation is complete by calling the Update method.But if a List is set to maintain versions .. and you are editing an item, but don't want to save it as a new version, then use the SystemUpdate method instead and pass in 'false' as the parameter.


16. What is query.ViewAttributes OR how can you force SPQuery to return results from all the folders of the list?
If you use SPQuery on any SPlist .. it will bring back results from the current folder only. If you want to get results from all the folders in the list.. then you need to specify the scope of the query by the use of ViewAttributes..
e.g. query.ViewAttributes = "Scope=\"Recursive\"";


Business Impact with existing applications:
Slow responsiveness to business and user needs
Costly custom development and maintenance
Poor sharing inside and outside the organization
Difficult to find the right content, data, and people
Increasing information management risk
Solution for above problems…. MOSS 2007
A unified, enterprise-ready solution that boosts organizational
Effectiveness by:
• making information and knowledge sharing intuitive and easy
• controlling and reusing content while reducing information management risk
Enabling faster and more insightful decision making


Is there any way to send Email in sharepoint?
Ans) Using SPUtility we can send Emails, but we can’t set priority of the email.
We can send a email using Sysntem.Net.Mail.
SPUtility.SendEmail(site, false, false, "e-mail_address", "Web Discussion Report", Msg);
http://www.fpweb.net/support/sharepoint-hosting/
Web parts: http://www.fpweb.net/support/sharepoint-hosting/download-web-parts.asp

How to Change the Logo on Your SharePoint Site
Change the Header image:
1. Log in to your SharePoint Site
2. On the right, click Site Actions >> Site Settings
3. Under Look and Feel click Title, Description, and Icon
4. Skip down to the Logo URL and Description section.
5. In the URL field, enter the full URL for the logo image you want at the top of your SharePoint site.
NOTE: If it’s your own image, you can first upload it to a document library on your SharePoint Site and copy the URL.
6. Click Click Here to Test to ensure the image appears correctly.
7. If the imageappears correctly, enter an Alternative text description for the image. This text will appear when you hover over the picture.
8. Click OK to complete the process.
To change the Site Image
1. Log in to your SharePoint Site
2. On the right, click Site Actions >> Edit Page. You will now be in Page Editing Mode.
3. Above the Site Image, you’ll see a box that says Site Image with edit in the right corner. Click edit.
4. Click Modify Shared Web Part
5. In the first field, entitled Image Link, insert the URL of the image that you would like to use.
NOTE: If it’s your own image, you can first upload it to a document library on your SharePoint Site and copy the URL.
6. Click Test Link to ensure the image appears correctly
7. If the imageappears correctly, enter an Alternative text description for the image. This text will appear when you hover over the picture.
8. Change any other options on the appearance of your Site Image.
9. Click Apply to view the change or OK to complete the process.

How to Change the Title on Your SharePoint Site
The SharePoint title is the title at the top of your SharePoint site and also in the top bar of your Web browser when you access your SharePoint site. Changing the title is simple, however you must have full control permissions to do so. If you meet this criteria, simply follow the steps below.
1. Log in to your SharePoint site
2. Click Site Actions >> Site Settings
3. Under Look and Feel click Title, Description, and Icon
4. In the Title and Description section, fill in the Title.
5. Click OK.
Q. What are the data types which are supported as Lookup column in SharePoint.?
Ans). Only Single Line of Text and Calculated columns are supported as lookup columns.
Q: Name at least two shared services available in MOSS 2007
A: Shared Services Providers in MOSS 2007 can provide the following shared services:
• User Profiles
• Audiences
• Personal Sites
• Search
• Excel Services
• Forms Services
• Business Data Catalog (Requires Enterprise Edition)
Q: (i) Describe the purpose of a content type and; (ii) give an example of where they might be used.
A: (i) A content type groups a set of list columns together so that they can be reused in the same way across sites. (ii) They could be used as a set of metadata columns that need to be applied to every document in a site collection
Q: What is the performance impact of RunWithElevatedPrivileges?
A: RunWithElevatedPrivileges creates a new thread with the App Pool's credentials, blocking your current thread until it finishes
Q: Describe the difference between a list and a library.
A: Lists are collections of metadata or columns, which can have attached documents.
Libraries are collections of documents (Excel, InfoPath, Word, etc.) plus optional metadata.
Q: Why would you use a custom column?
A: It allows you to re-use the column in multiple libraries. Particularly useful if you use a Choice type to restrict the user input to a predefined set of answers, and when that list of answers will likely change.
Q. When modifying a list item, what is the "main" difference between using SPListItem.Update() and SPListItem.SystemUpdate()?
A. Using SystemUpdate() will not create a new version and will also retain timestamps.


Sharepoint document library source page on the server?
Ans)1
When you create a document library template files from the "12 hive" are ghosted into the SharePoint content database (SQL). The only proper way to edit those pages at that point is to use Microsoft SharePoint Designer.
Open SharePoint Designer and open the SharePoint web site in question and you will see your document library listed in the file explorer. Under your document library you will see a Forms folder, that Forms folder is what contains the source files that are rendered to the browser
Ans)2
SharePoint does not store the pages directly in the filesystem. The mechanism is a little less straightforward.
To understand this mechanism, You have to understand the concepts of Ghosting/Unghosting, and the ASP.NET Virtual Path Provider. The SharePoint stores the pages in the Database as BLOBS, and serves them up using the ASP.NET Virtual path provider.
The ASP.NET Virtual Path Provider provides an abstraction between ASP.NET and FileSystem. Instead of getting a System.IO.FileStream object directly from the filesystem, the provider uses MapPathBasedVirtualPathProvider and the MapPathBasedVirtualFile classes to get the FileStream object.
This abstraction allows ASP.NET to serve up pages from anywhere, without having to store the pages in an actual file system. This concept is used to implement Ghosting/Unghosting which basically means having a single copy of the page, and serving them up as different pages.
SharePoint leverages this new feature in ASP.NET 2.0, along with the improved BLOB storage functionality in SQL Server 2005 to serve up pages

Friday, 13 June 2014

Microsoft SharePoint Interview

How many types of SharePoint timer job lock types are available?
What is an event receiver? 
How many types of event receivers available?
How to attach an event receiver to a particular list?
What is Content type? In which scenario we will use content types and site columns?
In how many ways you will create content types and site columns?
What is Page layout?
How to create a page layout using visual studio?
If we delete all the default content place holders any error will be occur or not?
What is a delegate control?
What is the usage of delegate control in master page level?
How many ways we can deploy the master pages?
Why the CSOM?
Have you ever used j Query and java script?
Some questions on ECMA script and knockout.js?
How can we get the list items using server object model? scenarios ?
How can we filter the items from the list using CAML query?
We created content type to particular list, Can we use this content types in other web applications and where it displayed in the site?
what is site definition? Explain the senario?
Explain the best way for how to get the list data using server side object model?
What is Client Context?
How to create an item in list B when an item is added in the list A? using event receiver ?
how many ways we can create a content type in share point?explain  scenarios ?
How can we use already created list forms in other web applications?
Have knowledge in JavaScript, jquery, json and which scenario you worked?
What is the difference between JavaScript and jquery?
Differences of client object model and server object model and when we use these explain with the scenario?
What is the difference between stsadm and powershell?
When we use web services in SharePoint and tell me the scenario?
We created content type to particular list, Can we use this content types in other web applications and where it displayed in the site?
What are the authentication types in SharePoint and explain each?
How can we change the authentication type?
Do you have idea on Kerberos and when we use this?

Tuesday, 10 June 2014

SharePoint Interview

what is a web part?
Web parts consist of xml queries to full SharePoint lists or document libraries. You can also develop your own web parts and web part pages.
What are the advantages of SharePoint Portal Services (SPS) over SharePoint Team Services (STS)?
harePoint Portal Services (SPS) has MUCH better document management. It has check-in, check-out, versioning, approval, publishing, subscriptions, categories, etc. STS does not have these features, or they are very scaled back. SharePoint Portal Services (SPS) has a better search engine, and can crawl multiple content sources. STS cannot. STS is easier to manage and much better for a team environment where there is not much Document Management going on. SPS is better for an organization, or where Document Management is crucial.
what is CAML?
CALM tands for Collaborative Application Markup Language and is an XML-based language that is used in Microsoft Windows SharePoint Services to define sites and lists, including, for example, fields, views, or forms, but CAML is also used to define tables in the Windows SharePoint Services database during site provisioning.
What are the types of input forms that can be created for a workflow ?
You can create four different types of input forms including
1. An association form
2. An initiation form
3. A modification form
4. A task edit form.
What are ways to create input forms for workflow ?
Two
1. You can create your forms by using custom application pages, which are standard .aspx pages deployed to run out of the _layouts directory.
2. Using Microsoft Office InfoPath 2007
what is MOSS ?
Microsoft Office SharePoint Server (MOSS) is the full version of a portal-based platform for collaboratively creating, managing and sharing documents and Web services.
In MOSS additional feature add that can not in WSS 3.0.
what is web part?and type
Web Parts are the fundamental building blocks for Share Point user interface, and with them we can build and integrate many different types of applications.In share point also be create custom web part using .oscx control
steps create custom web part
1.create web part project copied .oscx control and build application.place .dll file in GAC .reset IIS.
2.go 12 hive _layout folder create folder past your .oscx control
3.go inetpub ->wwwroot->wss->open Your site ->web con fig->create safe control write assembly information of web part application
4.open sharepoint site ->site action-site editing->Galleries ->web part->new Add your web part.
follow few web part in WSS 3.0
Content Editor Web Part
Data View Web Part
List View Web Part
Image Web Part
Members Web Part .
Page Viewer Web Part
how can debugging share point application and timer jobs ? with steps?
Steps 1:build application place .dll into gac and reset iis
steps 2:On the Debug menu, select Attach to Process
steps 3:select the Show processes from all users check box.
steps 4:select W3W.exe and OSWTIMER.exe can attach
steps 5:refresh sharepoint site point break point
What is Sandbox solution?
When user writing custom code then it is not trusted, its failure causses on entire site. So the sandbox solution concept is used. In that case program is only written for particular site & solution is uploaded in the same site. The solution size limit is decided at the time of site creation & if size increases or code showing bad performance then it is easy to administrator to stop the working of solution.
What is the difference between Sandbox solution & farm solution?
We can create sandbox solution for particular site but not for the entire site collection or farm. It is not applicable for farm solution. There are some restriction while creating the sandbox solution.
Why we use the properties.current.web instead of SPContext.Current.web in event receiver?
When we deploy project from Visual studio then we can use the SPContext.Current.web but when we use the powershell to activate or deactive the feature then we have to use properties.current.web beacuse there is no access of browser here.
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
4. simple.master- it is used for accessdenied.aspx, confirmation.aspx, error.aspx, login.aspx, reqacc.aspx, signout.aspx & webdeleted.aspx pages.
What is the difference between CustomMasterUrl & MasterUrl?
MasterUrl is used to change the layout of all use end pages but CustomMasterUrl is for changing the layout of admin side pages.
What is SharePoint Delegate Control?
a. With the help of delegate control, we can take any OOB control of SharePoint and replace with our custom control without any modification in the SharePoint page. So that new custom control overrides the existing one.
b. So the delegate control provide one of the option to add control (either server control or user control) on a SharePoint page.
c. This is one of the important features of SharePoint, introduced in WSS v3 and so in MOSS 2007.
d. For example : In master page SearchBox control is included as
<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" />
e. The above lines instantiate the delegate control object.
f. This delegate control object uses features to locate the control which is specified in ControlId. So there must be the features (it includes feature at any scope) which creates and deploys the SmallSearchInputBox control.


What are the zones in SharePoint?
1. Zones provides the separate logical paths of authentication for the same web application.
2. We can create 5 zones for each web application as follows :
a. Default
b. Intranet
c. Extranet
d. Internet and
e. Custom
3. Each zone represented by different web sites in IIS.
What is the Farm in SharePoint?
1. Farm is a collection of SharePoint servers having the same configuration database.
2. Configuration DB stores all the required information to run the farm.
3. Each farm is administered through a central administration
4. There is only one configuration database per farm.
What is WebApplication in SharePoint?
1. In SharePoint WebApplication is a IIS website.
2. From Central Admin we can create the web application. Each web application is associated with one IIS web site.
3. Once the web application is created, we can extend the web application in different zones.
4. For each web application, content database is created.
What is a Site Collection in SharePoint?
1. A site collection is a set of web sites.
2. Every site collection has top-level site, created when the site collection is created.
3. THere might be multiple site collections in web application and each site collection may have a multiple child sites.
How the WSS3.0 basic installation differs from the advanced installation?
1. When we choose the basic installation, Windows Internal Database(WID), a relational database based on SQL server technology, is installed for the WSS3.0 databases. This WID has only 4 GB limitations. While if we go for advanced search, WSS 3.0 uses installed SQL server for the databases.
2. When we use basic installation, application pool uses the LocalSystem account.
3. Also once we go for Basic installation, we are unable to add more servers to the farm.

Monday, 9 June 2014

SharePoint Interview Questions

Q 1.What is SharePoint? 
Answer : Microsoft SharePoint is an enterprise collaboration and content management platform which enables users to connect each other and share the information across an organization. Indirectly this solves the problems in an organization to share the documents, security, business process, maintaining data etc. SharePoint 2010 has rich UI and plenty of features.
Q 2. What are the types of input forms that can be created for a workflow ?
Answer : You can create four different types of input forms including
1. An association form
2. An initiation form
3. A modification form
4. A task edit form.
Q 3. What is MOSS ?
Answer :  Microsoft Office SharePoint Server (MOSS) is the full version of a portal-based platform for collaboratively creating, managing and sharing documents and Web services. In MOSS additional feature add that can not in WSS 3.0.
Q 4. What is a site collection in SharePoint?
Answer :
1. A site collection is a set of web sites.
2. Every site collection has top-level site, created when the site collection is created.
3. There might be multiple site collections in web application and each site collection may have a multiple child sites.
Q 5. What is WSP (Web solution package)?
Answer : When developer does any customization or enhancement in SharePoint, then there are many items that need to be deployed like assemblies, resource files, features, images, application pages, site definitions etc. It will be a very tedious task to deploy these items separately on development, staging and production. So SharePoint introduced a solution package which is powerful deployment tool. Web solution package is a cabinet file that contains assemblies, resource files, features, images, application pages, site definitions etc. into single file.
Note: A solution package is stored as a cabinet (CAB) file, with the file extension .wsp. This file contains all the files to be deployed. If you rename the file extension to .cab, you can open the solution and explore its content .It can be deployed using the command-line tool stsadm or PowerShell cmdlets.
Q 6. How will you set up a Platform for Testing SharePoint WebParts?
Answer: We would need to install :
1. WSS 3.0
2. Microsoft Office SharePoint Server 2007 installed.
3. Windows Server 2003 or 2008.
4. Visual Studio 2005 or 2008.
Q 7. What are the various zones in SharePoint?
Answer :
- Zones provide the separate logical paths of authentication for the same web application.
- 5 zones can be created for each web application :
a. Default
b. Intranet
c. Extranet
d. Internet and
e. Custom
Q 8. Whats is SharePoint site collection?
Answer : A collection of SharePoint sites that share common administration pages and site settings. Site collections allow you to share content types, site columns, templates, and Web Parts within a group of SharePoint sites.
Q 9.What is Business Data Catalog or BDC ?
Answer : It is a shared service that enables Office SharePoint Server 2007 to display business data from various back-end servers into a SharePoint page. Business Data Catalog or BDC provides built-in support for displaying data with various webparts and list\list columns that can help in easy creation of dashboards with data from your SQL, web services, SAP, Siebel, or any other line-of-business (LOB) applications.
Q 10. What is a Field Control?
Answer : Field controls are simple ASP.NET 2.0 server controls that provide the basic field functionality of SharePoint. They provide basic general functionality such as displaying or editing list data as it appears on SharePoint list pages.
Q 11. What are the Methods of Backup and Recovery in SharePoint 2010?
Answer : Microsoft SharePoint Server 2010 provides a broad range of levels for performing backups, including the entire farm, farm configuration information, site collections, subsites, or lists.
SharePoint Server 2010 uses two different tools to configure backup and recovery.
1. Central Administration : Central Administration provides a user interface where SharePoint Administrators will be prompted via menu structures to select the information that needs to be backed up. (see the Image below)
2. Windows PowerShell : Windows PowerShell is a command line tool that provides SharePoint administrators a way to perform backup and recovery with additional options such as file compression or working with SQL snapshots.
Q 12.What are Application Pages in SharePoint?
Answer : Unlike site pages (for example, default.aspx), a custom application page is deployed once per Web server and cannot be customized on a site-by-site basis. Application pages are based in the virtual _layouts directory. In addition, they are compiled into a single assembly DLL.
A good example of an Application Page is the default Site Settings page: every site has one, and it’s not customizable on a per site basis (although the contents can be different for sites).
With application pages, you can also add inline code. With site pages, you cannot add inline code.
Q 13.What is CAML?
Answer : CAML stands for Collaborative Application Markup Language and is an XML-based languagethat is used in Microsoft Windows SharePoint Services to define sites and lists, including, for Eg, fields, views, or forms, but CAML is also used to define tables in the Windows SharePoint Servies database during site provisioning. Developers mostly use CAML Queries to retrieve data from Lists\libraries.
Q 14. Whats New with SPAlerts in SharePoint 2010?
Answer : In SharePoint 2007, alerts were send only through e-mails, but in SharePoint 2010 users can also send an alert to mobile devices as SMS Message. A New property DeliveryChannels is introduced to indicate, whether the alert is delivered as E-mail or as an SMS Message.
Q 15. What is the difference between a Site Definition and a Site Template?
Answer : 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 users can create. 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.
Q 16.How to Export a Site or List in SharePoint 2010?
Answer : SharePoint Server 2010 provides several new features that provide a granular level of backup for various components of site content. This includes content at the site, subsite, and list level.
Through Central Administration(Granular level Back-up) a SharePoint Administrator can configure a backup of a subsite or list. An Administrator can choose a site and a specific list to be exported.The administrators can also choose to export security and select the different versions that will be exported with the list.
Q 17.What is LINQ. How is it used in Sharepoint ?
Answer : LINQ is a feature of the programming languages C# 3.0 and Visual Basic .NET. LINQ allows you to query in an object-oriented way, supports compile-time check, gives you intellisense support in Visual Studio and defines a unified, SQL like syntax to query any data source. But unlike other languages and query syntaxes which vary from one type of data source to another, LINQ can be used to query, in principle, any data source whatsoever. It is commonly used to query objects collections, XML and SQL server data sources.
The LINQ to SharePoint Provider is defined in the Microsoft.SharePoint.Linq namespace. It translates LINQ queries into Collaborative Application Markup Language (CAML) queries.
Q 18.What is claims based authentication ?
Answer : Claims is a new authentication method that SharePoint 2010 can utilize. This allows a single authentication store for multiple types of authentication (Windows NTLM, SQL FBA, LDAP, etc) which allows all of these types of authentication to access SharePoint under a single URL.
Claims creates a SAML token based on the sign-in, that contains the user’s identity.
Q 19.How will you deploy files such as Css, js in SharePoint 2010?
Answer : The most preferable way to deploy files in SharePoint is by using the solution package. In SharePoint 2010 you can create an empty project with VS 2010 and then add a new SharePoint Mapped folder in it. This will give the desired location in 14 hive where you can then add a file to deploy.
Q 20. What are Parallel and Serial actions ?
Answer : When you have more than one action associated with a condition, the actions can be set up to run at the same time (parallel) or one after another (serial), the default.
Q 21. When should you dispose SPWeb and SPSite objects? And even more important, when not?
Answer : You should always dispose them if you created them yourself, but not otherwise. You should never dispose SPContext.Current.Web/Site and you should normally not dispose SPWeb if IsRootWeb is true. More tricky constructs are things along the line of SPList.ParentWeb.
Q 22.What security levels are assigned to users?
Answer : Security levels are assigned by the administrator who is adding the user. There are four levels by default and additional levels can be composed as necessary.
*Reader – Has read-only access to the Web site.
*Contributor – Can add content to existing document libraries and lists.
* Web Designer – Can create lists and document libraries and customize pages in the Web site.
* Administrator – Has full control of the Web site.
Q 23.What does a SPWebApplication object represent?
Answer : The SPWebApplication objects represents a SharePoint Web Application, which essentially is an IIS virtual server. Using the class you can instigate high level operations, such as getting all the features of an entire Web Application instance, or doing high level creation operations like creating new Web Applications through code. 
Q 24. Difference between SharePoint designer workflows and custom workflows?
Answer :
  1. Only sequential workflows can be created in SharePoint Designer; state machine workflows cannot be created in SharePoint Designer.
  2. Deployment and moving is easy in custom workflows when compared to SharePoint designer workflows.
  3. Visual Studio can have code-behind.
  4. Visual Studio generates a workflow template which can be easily be deployed, SharePoint Designer workflows are typically built against specific lists and sites.
  5. Visual Studio allows for debugging!!
Q 25. What is Windows Powershell?
Answer :  Windows PowerShell is Microsoft’s task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems.

Wednesday, 23 April 2014

WIPRO SharePoint Interview

WIPRO SharePoint Interview
1. What are the new features that are introduced in SP 2007?
2.Difference between WSS 3.0 and MOSS 2007?
3. What is a feature in SP?
4.What Application Definition File contains?
5.Difference between SPSite and SPWeb?
6. Explain Object model in Sharepoint?
7. Sharepoint Architecture?
8. Asynchronous and Synchronous events in Sp?

TCS SharePoint Interview

TCS SharePoint Interview
1. What are the new features provided in Sharepoint 2007?
2. What are the features of Sharepoint Service Provider ?
3. Difference between Document Library and Form Library?
4. Difference between SpWeb and SPSite?
5. What is Application Definition File?
6.What is Custom List?
7. What is Ghosting and Unghosting?
Ans: If you are creating a master page then it is stored in database.This is called Ghosting( storing in database)
Unghosting: Storing in File System eg: Creating a Theme.
8.If you are creating a custom webpart in Visual Studio or Sp Designer what are all the methods present?
9.You applied a theme in CreateChildControls method. And in Render method you applied another theme.Which appears in webpage?
Ans: Theme applied in Render method
10.Where Viewstate is created in webpart life cycle?
11. Webpart file extension …
Ans: dwp
12. Difference between site template and Site Definition
Ans: Site Template stored as xml file and applied on a single
Site Definition applies on bulk.
13.What are the steps to follow in creating a Site Definition?
Ans: (doubt)
1 st step: edit webtemp.xml file of sharepointhive/1033/xml/
Here Sharepoint Hive is c:/programfiles/common files/microsoft shared/
2 nd step: paste the custom template in
hive/templates/sitetemplates/

IBM SharePoint interview

IBM SharePoint interview
what is extend web application.
how can we give two type of authentication.
A)Useing extend web application we can do.
When we have to create new type of same SSP
A)when we have two type of authentications (Like windows, form)then we have to create 2 diif SSP for same services.
Ex:if there are any confidential doc are configured with excel services, for external users we have to create another SSP.because we should not share confidential doc to others.
what is power cell
How can we config infopath
infopath adv and diss.
What is SSP?
WFES-Web front end server.
If i 'v 2 WFES how i 'v to configure.
What is feature.
When i try to delete a item in list i should get a prompt, how can we do it.
What is AllowUnsafeUpdates?
what is RunWithElevatedPrivileges?
what is caml query?did u used any 3rd party tool
what are the components u 'll use while moss development?
what is backup and restore? what is export and import? when we 'll use which one.
how can we deploy infopath using CA?
what is diff btween web application and web site?
what is localization?
when you create a web part how can we show the diff content based on region loged in user?(like english, german...)
what is resource file in .net?
steps to create form authentication in moss
BDC, with out using any 3rd part tool

Trizen SharePoint Interview

Trizen SharePoint Interview
1. Managed Users
2. Managed Properties
3. What is the class name and namespace for features.
4. Fearures properties
5. How can we create the Webpart properties?
6. What is mean syn and Async events and example
7. how to define feature
8. what is content type
9. how to create content type using VS2008?
10. What are the scopes available in features
11. what is workflow? what are the types available in WWF...?
12. What is mean by activity and event?

Tuesday, 22 April 2014

franklin templeton india SharePoint Interview

franklin templeton india SharePoint Interview
 
1. Default group names SharePoint
2. Custom permissions in SharePoint
3. What is safe control
4. Safe mode parser engine
5. What is validation, rule and conditional format in InfoPath
6. How to create a unique sequence column in SharePoint
7. Diff import/export and back & restore
8. What are default workflow in SharePoint
9. Constrains sql
10. How can I make my logo as hyper link
11. If I change any master page from where it will load
12. Why I have to use web part to use user control can I use directly or not?
13. Validation in SharePoint custom list
14. Diff b/w validation in MOSS sp 2010
15. Diff b/w create & extend web application
16. BDC
17. Branding
18. Session
19. I have a InfoPath if I open I should get product info and if u open u should get client into how can we do?
20. Dept emp ->dept id
21. Why I have to put dept deptid in emp table
22. Get identity from Stored procedure
a. @ identity
23. Normalization levels
24. What is Ajax
25. Event receiver?
26. Can I add .ascx in Moss
a. ans) NO
27.  Enabling event ,disabling event
28. Moss execution
29. Stsadm comman to add solution
30. I have 10MB list how can I restore in another site?(save as s site template or is there any other way?)
31. I have a site collection with sites HR, IT, Finance here how can I restore HR in another server (Backup/Restore or import and export)?
32. Diff between Alert and normal workflow.
In SharePoint single level workflow we can send email to user, but same thing we can do from Alert option also. What are the diff b/w Alert and normal workflow.

Thursday, 13 March 2014

Microsoft SharePoint Interview

Microsoft SharePoint Interview

Search:
  1. What is the scope?
  2. How will you change the scheduling the scope?
  3. How will you configure search particular files like .pdf or .docx etc
  4. Sharepoint installed on server by default search is configured or not?
  5. How will you to configure search in particular webapplication?

Webpart:
  1. What is webpart?
  2. What is the difference between visual webpart and normal webpart?
  3. When your deployed the visual webpart what are 4 files going to deploy
  4. Tell me the steps to deploy the solution? other than powershell,stsdam tool is there any other way can we deploy the solution?
  5. With out restart the iis can we deploy any custom solutions (webpart)?
  6. What is the difference between sandbox solutions and form solutions?
Timerjob:
  1. What is the timerjob?
  2. How will you debug the timerjob?
  3. How can you deploy timerjob in multiple servers(sharepoint servers)?
Workflow:
  1. What are the new workflows and events in SP2013?
  2. When you will use sequentional workflow and when will you use statemachine workflows?
  3. How can we reopen existing sharepoint visual studio workflow using sharepoint designer?
  4. what is the difference between (2010,2013) spd workflows and vs workflows?
Event Receivers:
  1. What is the difference between event receiver and workflow?(steps and real time scenarios)
  2. Hierarchies of event receivers
General:
  1. What is feature?
  2. What is the scope?
  3. What is feature stapling?
  4. Any idea about installation sharepoint server and configuration?
  5. Some questions are real time scenarios

Saturday, 8 March 2014

Accenture SharePoint Interview

Accenture SharePoint Interview
1. In C#, create a list that creates a notification (fires an event) whenever the list contents are changed. You may reuse any existing collection or .NET element. Focus on demonstrating notification not implementing all the list methods.
2. What is garbage collection?
Ans: garbage collecter is menory management in .net framework. It will remove unused manage objects from memory.
3. What is managed code and managed data?
Ans: the code which runs in CLR is managed code.The code which CLR can't understand that is unmanged code.
4. Can I use COM objects from a .NET Framework program? 
Ans: Yes, using com wraper class we can call COM objects.
5. Create an interface hierarchy for UI elements: TextBox, ListBox, ComboBox. Note, ComboBox “is-a” TextBox and a ListBox. Use UML and code.
Ans:
6. What is the output of the program:
using System;
class A
{
~A() {
Console.WriteLine("Destruct instance of A");
}
}
class B
{
object Ref;
public B(object o) {
Ref = o;
}
~B() {
Console.WriteLine("Destruct instance of B");
}
}
class Test
{
static void Main() {
B b = new B(new A());
b = null;
GC.Collect();
GC.WaitForPendingFinalizers();
}
}
Ans:Destruct instance of B
Destruct instance of A
7. Write a class declaration for class A and B. Class B inherits from A. Class A has-a integer element x and class B has-a integer element y. Show how you could print out the fields x or x and y depending on the class using the same “print” statement.
Ans) class Program
{
static void Main()
{
B b = new B();
b.printfromb();
}
}
public class A
{
public int x = 1;
}
class B : A
{
int y = 2;
public void printfromb()
{
Console.WriteLine("Print x" + x);
Console.WriteLine("Print x" + y);
}
}
8. Use the following class to create an Ellipse and Box class:
public abstract class Shape
{
public abstract void Paint(Graphics g);
}
Show how you would “paint”
Ans:
class Program
{
static void Main()
{
Graphics g;
Ellipse e = new Ellipse();
e.Paint(g);
Box b = new Box();
b.Paint(g);
}
}
public abstract class Shape
{
public abstract void Paint(Graphics g)
{
}
}
public class Box:Shape
{
public void Paint(Graphics g)
{
Console.WriteLine("Print x" + g);
}
}
class Ellipse : Shape
{
int y = 2;
public void Paint(Graphics g)
{
Console.WriteLine("Print x" + g);
}
}
9. Show how you would create a list programmatically in C# and SharePoint with your own custom code.
SPSite site = SPContext.Current.Site
SPWeb web = site.OpenWeb();
web.AllowUnsafeUpdates = true;
SPListTemplateCollection customListTemplates = site.GetCustomListTemplates(web);
SPListTemplate listTemplate = customListTemplates["listtemplatename"];
web.Lists.Add("User_Data", "A custom list to store user data", listTemplate)
web.Update();
10. Describe in point form how you would create your own event receiver in SharePoint.
iteam added, deleted, modefied.
11. Use C# and SharePoint API to demonstrate how you would assign permission levels to an existing group.
SPSite site = null;
SPWeb web = null;
site = new SPSite("http://server:100/sites/DevSite/");
web = site.OpenWeb();
SPRoleAssignment roleAssignment = new SPRoleAssignment("domain\\user","alias@domain.com","test","You!");
SPRoleDefinition roleDefinition = web.RoleDefinitions.GetByType(SPRoleType.Contributor);
roleAssignment.RoleDefinitionBindings.Add(roleDefinition);
web.RoleAssignments.Add(roleAssignment);
virtualization
web services
web application policy sharepoint 2010
sharepoint assign group permissions using object model code
web application policy sharepoint 2010.
What is .NET Reflection?
.NET Framework's Reflection API allows you to fetch type (assembly) information at runtime programmatically. We can also achieve late binding by using .NET Reflection. At runtime, the Reflection mechanism uses the PE file to read information about the assembly. Reflection enables you to use code that is not available at compile time. .NET Reflection allows an application to collect information about itself and also to manipulate on itself. It can be used effectively to find all types in an assembly and/or dynamically invoke methods in an assembly. This includes information about the type, properties, methods, and events of an object. With Reflection, we can dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties. We can also access attribute information using Reflection.
Using Reflection, you can get any kind of information which you can see in a class viewer; for example, information on the methods, properties, fields, and events of an object

Wipro SharePoint Interview

Wipro SharePoint Interview
Q)How to add javascript in master page of sharepoint
Ans: We can add directly Js file in master page by adding
asp:ScriptManager
Scripts
asp:ScriptReference
Sharepoint2010 Javascript
Sharepoint2010 Javascript
Another way is by adding webpart zone in masterpage and add Content Editor Web Part.
Q)How to configure advanced search in sharepoint
How to configure form authentication in sharepoint
once i configure form auth advaced search will work or not?
if not what i have to do to work
how to configure document emailing
if mt sharepoint site is not working what i have to check first.
how to deploy wsp
how can we show friendlt error messages in sharepoint

DELL Sharepoint Interview

DELL Sharepoint Interview
web part page life cycle.
how to move Dev sharepoint site to QA
How to add Javascript in Sharepoint
Type of custom pages in sharepoint
what is WSP, how can we create WSP
how to validate stat date and end date values when users selects end date less than start date, with out code and javascript.
how to connect BSC.
How dispaly current logedin user.
Can i deply my BCS on announcement or task list.
A) No, we can do on external list only
what is the difference GAC deployment and site deployment of a web part
how to do restore and back up in sharepoint 2010
how to do export and import
how to change my search result in sharepoint 2010
When i access my sharepoint site, i have to use http://SERVER"port/Site page/a.aspx...Now i don't want to show site page, How can i do this.
Alternate access maping
what is sandbox solution, in what case you will go for sandbox and farm?
can i deploy my custom webpart in sandbox solution
what is event receivers

TCS SharePoint Interview

TCS SharePoint Interview

1) what is the architecture of the solution Packages
2) what kind of workflows needs to be developed to support for the 10 different Custom lists.
3) what are the Features Scopes?
4) what is Data View Web Part? is it out of box or not? how to develop it.
5) what are the Object Model Programming concepts used?
6) when we do not dispose the spsite or spweb objects? explain Scanario.
7) What is SPDataQuery?
8) What a is content Type?
9) How to attach Content Type with workflow
10) Create a master page?
11) Sharepoint Designer?
12) What is List Content type?
14) How to deploy the solutions in Dev, Sandbox and Staging to Production
15) How to add the modifications for the existing WSP Solutions
16) how many ways webpart can be developed? what are the classes? what is the diff between sharepoint WebPart and DotNet WebPart?
17) what type of security will sharepoint provide?
18) what are techical differences between MOSS 2007 and SP 2010
what is visual Webpart.
what is content type?
what is ULS?
what are sharepoint Logs?
what is farm based authentication?
how to make site and Public users and Admin Users?
how to show the data on the custom list for own users and when admin logs in, it should show complete data?
what are web parts?
what is Safe Control Entry?
what is difference between GAC and BIN Folder?
what is difference between Sharepoint Object Model and Client Object Model?
difference between Customlist and Document Library?
how to use sessions in sharepoint?
what is Sandbox Solution? difference between Farm Solution and Sandbox Solutions/
How to access the Resource from the Template folder when we use SandBox Solutions.
What is office 365?
What is visual webparts?
In which format Data will be stored in sharepoint?
difference between Application Pages and Site Pages?
What are Infopath forms?
What is BCS? diff between BDC and BCS?
what are Syncronous and Asyncronous Events?

CTS sharepoint interview

Cognizant technology solutions sharepoint interview
1st Round
1. What is the b/w SPD workflow and VSTO workflows
2. How ur going to move SPD workflow (2007 & 2010) in production server
3.What diff b/w Seq and State machine workflows
4.How ur deploy ur custom workflow?
5.How many workflows can we configure in single list?
6.How about SPD workflows?
7.How u migrate custom workflows to new version?
8.How ur going to debug the timer job
9.Y u used timer job ,We can use console application with windows timer instead of time job?
10.what is site template?Have u created new custom template?tell me the step..
11.What is site definition?
12.What is SPQuery?
13.How can we retrieve the multiple list items with in the site collection?
14.What is the difference b/w SPQuery and SPDataQuery?
15.What is event receivers? Y we use?
16.What is synchronous and asynchronous events in sharepoint?
17.Y we use this event receivers?
18.I have an item in list i need to retract to delete.which event handler u will use?
19.what is the diff b/w to debugg timerjob and webpart
20.What is custom pages and application pages
21.When we use custom pages,If i deploy where is ll save?
22.What is the default authentication for web application?
23.What is clasic based authentication?
24.What is allowunfateupdates?y we use?
26.What is the scope of feature in ur webpart?What is site and Web?
27.What is system.update() and list.update()
28.What is innerjoin in sql?


2nd Round 
1.What is system.update() and list.update();
2.Tell me migration steps?
3.What is excel services and where you implemented?
4.What is SPSite and SPWeb?
5.Tell some difficult scenario in ur sharepoint carrier?

Microsoft SharePoint Interview

Microsoft SharePoint Interview
how to add content type in page layout.
ex: if you want show some fields( company name and dept name)
Tell me default.aspx page path in sharepoint
if i customize default.aspx.cs where it will store? and how the data will come to site.
which case u will go for event handler and custom field
if i have 3 web front end server how you will deploy you feature what is the options?
what ferature will contains
sharepoint performance issues
page layout in sharepoint
what is page layout what are the diff types of page layouts in sharepoint
how can we find memory leakeage
how can i create 20000 sub sites in sharepoint
if i delete a feature from CA will the custom list related to that feature will be availble or not in the site?
method over load
method override
abstract class
polymorphism
profiles (SQL) in sharepoint
http://www.codeproject.com/KB/dotnet/SQLServerProfiler.aspx
sharepoint site execution
content type
if I create a content type in sub site will it be available in root site
how can we check sharepoint 2010 upgrade check
A) STSADM.EXE -o preupgradecheck

Logica SharePoint Interview

Logica SharePoint Interview
What is crawl in sharepoint?
Connected and disconnected data model? Example?
What is manifest file in sharepoint?
What is normalization in sql?
1st , 2nd , 3rd and 4th normalization?
How to filter table data in asp.net code?
How many columns we create in a sql table max?
Asp.net execution?
What is IL and JIT?
What is the namespace we will use in infopath custom code?
What one is good to develop infopath application either VS or sharepoint designer and Why?
How to send a email to user when new document added to doc library
How can we move copy table in using dataset property
Script manage timeout
Caching types

Friday, 7 March 2014

HCL Sharepoint Interview

HCL Sharepoint Interview
How to get all event receiver which i have added to server
Diff b/w .DWP and .webpart
Base calss for evert recivers
base class for custom web part
base class for sharepoint timer job
how to send email in sharepoint
base class for email sending
in item adding event how get item id
What is the CSS file name in sharepoint
What is application page and site page
what type of authontications are there in infopath..like trust levels
what is the extention of infpath
how infopath data will store in sharepoint
SSP
farm installation
how to take the backup of sub site tell me STSADM command
what are the default OOB workflows in sharepoint.
how to deploy user control in sharepoint
how to call user control in webpart
data view web part and list view webpart
how to add data view web part in to sharepoint
how to add List view webpart in sharepoint
runwith elevated prvila..
how to add list item using objecy model code
how get list name using object model code
how many ways we can create object for site collection in object model
what we have use safe control
whare will be the feature available in sharepoint
how to make sharepoint 2010 site public
How to get todays items in a list