Interview Questions administrator

Best SharePoint administrator Interview Questions and Answers with topic wise:


Recycle Bin | MMS | ManagedVsCrawledProperties |
Showing posts with label Event Receivers. Show all posts
Showing posts with label Event Receivers. Show all posts

Wednesday, January 20, 2016

SharePoint Interview Questions and Answers: EventRecievers1

  1. How to handle the access denied event for RunWithElevatedPrivileges?
  2. How to define/use SPSite and SPWeb objects in event receivers?
  3. How to handle the event receiver scope level  in event receiver?
  4. The Modified By/Modified columns should not be updated if there no changes made in the SharePoint list/library?
  5. Dispose objects in event receivers?

<<Prev Post>>                                                                                             <<Next Post>>

Answers for the above questions are in progress and published soon.

Thursday, January 31, 2013

SharePoint 2013 Features/Highlights:

Apps in SharePoint 2013/office 365:
I have already covered about the features and benefits of introducing apps in my earlier posts. Please have a look into it.
  1. Overview of apps:
  2. Host Web Vs App web
  3. Get Host Web url 
  4. And some list Operations on SharePoint 2013/Office 365 sites

Wednesday, November 21, 2012

Enhancements in event receivers in SharePoint 2010

Before learning new enhancements in sharepoint2010, we have to know why they were enhanced. So that we can remember new features easily, below are the limitations on sharepoint2007 what I covered in my development career.
  • Cannot hook the events to a particular SharePoint lists.
  • Need to use standard pre-defined error page when canceling the events, which is not so intuitive for the end users
  • No JavaScript alert instead of redirecting to pre-defined error page
  • No events for SPWeb object.

Thursday, July 19, 2012

SharePoint Interview Questions and Answers: EventRecievers


  1. Event Receivers and types of event receivers?
  2. Best coding practice on event receivers?
  3. Use of DisableEventFiring() and EnableEventFiring()?
  4. BeforePropeties and AfterProperties?
  5. What all are Event receivers features introduced in SharePoint 2010?
  6. What are all new Event Receivers introduced in SharePoint 2010?
  7. Difference between event receivers and workflows?
  8. How to add an event receiver to the specific list programmatically?
  9. How to add an event receiver to the specific content type programmatically?
  10. How to add an event receiver to the content type using feature.xml file?
  11. The ItemUpdating event or the ItemUpdated event occurs two times when you enable the Require Check Out option for a document library in Windows SharePoint Services 3.0?
  12. Event Receivers with custom error page?
  13. I have one requirement, i.e. is there is one list name “Student Marks” and fields has English, Hindi, Telugu, Total, AVG. Total=English+Hindi+Telugu. The total field should be update automatically if I update any of the language marks. But here the actual problem is if you are updating two fields at a time the ItemUpdating event fires 2times. But I don’t want to fire twice. How?
  14. I have one document library and I want to allow only specific extension files (like .doc, .pdf etc.) into that document library? How can I prevent it?
  15. Why can't we use spcontext in event receivers? 
  16. Error occurred in deployment step 'Recycle IIS Application Pool': The vssphost4.exe process was unable to start due to an unknown error?  
  17.  How to delete the event receivers?
  18. How to check whether the event receiver attached or not? 
  19. I have one custom developed master page. I want to set this master page dynamically for newly created sites. what is the approach to do that?
  20. How can we handle not to allow duplicate documents in a document library?
Event Receivers:
Event Receivers has taken places either synchronously or asynchronously. If the action has taken before code execution.

All receivers that end with “ing” are synchronous and those which end with “ed” are asynchronous.

Synchronous Event Handlers will work before the event is completed while asynchronous event handlers will fire after the event is completed.