Logo 
Search:

Interview FAQs

Submit Interview FAQ
Home » Interview FAQsRSS Feeds
Sharepoint
Comments: 1

What is the difference between an asynchronous and synchronous event receivers?

An asynchronous event occurs after an action has taken place, and a synchronous event occurs before an action has take place. For example, an asynchronous event is ItemAdded, and its sister synchronous event is ItemAdding.
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 1

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.
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 1

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.
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 1

How could you append a string to the title of a site when it is provisioned?

In the OnActivated event:
Select For Unformatted Code
C#:
[Code]
1. SPWeb site = siteCollection.RootWeb;
2. site.Title += "interview";
3. site.Update();
[/Code]
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 1

What is a content type?

A content type is an information blueprint basically that can be re-used throughout a Sharepoint environment for defining things like metadata and associated behaviors. It is basically an extension of a Sharepoint list, however makes it portable for ...
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 1

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 w...
Posted By:Tarang Nayak      Posted On: Mar 12

  1  2  3  4  5  6  7  8  9  10