Breaking News
Loading...
Tuesday 1 January 2013

SharePoint Interview Questions and Answers

09:55
1.What is the relationship between Microsoft SharePoint Portal Server and Microsoft Windows Services?

Microsoft SharePoint Products and Technologies (including SharePoint Portal Server and Windows SharePoint Services) deliver highly scalable collaboration solutions with flexible deployment and management tools.Windows SharePoint Services provides sites for team collaboration, while Share Point Portal Server connects these sites, people, and business processes-facilitating knowledge sharing and smart organizations. SharePoint Portal Server also extends the capabilities of Windows SharePoint Services by providing organizational and management tools for SharePoint sites, and by enabling teams to publish information to the entire organization.

2.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, scope of which are defined as
  • Farm level
  • Web Application level
  • Site level
  • Web level
Features have their own receiver architecture, which allow you to trap events such as when a feature is Installing, Uninstalling, Activated, or 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,
and workflows.

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.

3. Workflow can be applied to what all elements of SharePoint ?

Workflow associations are often created directly on lists and 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/library At the level of a content type defined at site scope At the level of a content type defined at list scope

4. 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
  • A task edit form.
Note that these forms are optional when you create a workflow template.

5. 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. ( disadv: lot of code required when compared to Infopath approach)

2. Using Microsoft Office InfoPath 2007 (disadv: picks up a dependenct on MOSS, i.e. it cannot run in a standalone WSS environment)

6. What is the difference between method activity and event activity in WorkFlow ?

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.

7. What are content types?

A content type is a flexible and reusable WSS type definition (or we can a template) 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 leave approval document with a unique set of columns, an event handler, and its own document template and attach it with document library/libraries.

8. Can a content type have receivers associated with it?

Yes, a content type can have an event receiver associated with it, either inheriting from the SPListEventReciever base class for list level events, or inheriting from the SPItemEventReciever base class. Whenever the content type is instantiated, it will be subject to the event receivers that are associated with it.

9. What two files are typically (this is kept generally) included when developing a content type, and what is the purpose of each?

There is generally the main content type file that holds things like the content type ID, name, roup,description, and version. There is also the ContentType.Fields file which contains the fields to include  in the content type that has the ID, Type, Name, DisplayName, StaticName, Hidden, Required, and Sealed elements.

They are related by the FieldRefs element in the main content type file.

10. What is an ancestral type and what does it have to do with content types?


An ancestral type is the base type that the content type is deriving from, such as Document (0x0101). The ancestral type will define the metadata fields that are included with the custom content type.

11. Can a list definition be derived from a custom content type?

Yes, a list definition can derive from a content type which can be seen in the schema.XML of the list definition in the element.

12. When creating a list definition, how can you create an instance of the list?

You can create a new instance of a list by creating an instance.XML file

13. What is a Field Control?

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.

14. What base class do custom Field Controls inherit from?

This varies. Generally, custom field controls inherit from theMicrosoft.SharePoint.WebControls.BaseFieldControl namespace, but you can inherit from the default field controls.

15. Can multiple SharePoint installs point to the same DB?

Multiple SharePoint installs can use the same database server. Not literally the same database on that server.That server must be SQL Server 2000 or SQL Server 2005. It cannot be Oracle or another vendor.


Share This :
Tags:

0 comments:

Post a Comment

 
Toggle Footer