Monday 3 October 2011

List based event receiver activated and deactivare

http://sarangasl.blogspot.com/2009/11/remove-event-receiver-in-sharepoint.html


http://msdn.microsoft.com/en-us/library/ff407249.aspx

Friday 9 September 2011

Sharepoint Blogs

http://www.sharepointwarriors.com/


http://bestofcyber.wordpress.com/

http://www.elumenotion.com/Blog/Lists/Posts/Post.aspx?ID=140

Wednesday 3 August 2011

List Event Receivers firing for all custom lists

http://social.technet.microsoft.com/Forums/ar-SA/sharepoint2010programming/thread/f33aebbd-ce80-4887-bbb1-c34ce7aa363c

http://msdn.microsoft.com/en-us/library/ms431081.aspx

Sunday 31 July 2011

create custom Site Definition

http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/sitedefinition01062009214413PM/sitedefinition.aspx


http://weblogs.asp.net/soever/archive/2006/11/11/SharePoint-Solution-Generator-_2D00_-part-1_3A00_-create-a-site-definition-from-an-existing-site.aspx


http://blogs.msdn.com/b/syedi/archive/2009/12/04/custom-site-definition-for-collaboration-portal-template-sharepoint-2007-wow-moss.aspx

Monday 25 July 2011

What SharePoint Databases are Created during the standard Install?

During standard install, the following databases are created :

SharePoint_AdminContent
SharePoint_Config
WWS_Search_SERVERNAME%_%GUID_3%
SharedServicesContent_%GUID_4%
SharedServices1_DB_%GUID_5%
SharedServices1_Search_DB_%
GUID_6%WSS_Content_%GUID_7%


http://sharepointgauravgoyal.blogspot.com/2011/04/sharepoint-interview-questions-and.html

http://www.dotnetspark.com/catedotnetquestion/9-Page-2.aspx

Sunday 26 June 2011

Difference between SpListItem.SystemUpdate() and SpListItem.Update()

http://bijuva.wordpress.com/2009/05/28/difference-between-splistitem-systemupdate-and-splistitem-update/

Wednesday 1 June 2011

Sharepoint - trying to get value of a task field into a workflow

http://stackoverflow.com/questions/757519/sharepoint-trying-to-get-value-of-a-task-field-into-a-workflow


Guid isApprovedFieldId = worflowProperties.TaskList.Fields["isApproved"].Id;
string approvalStatus = (string)(onTaskChanged1_AfterProperties1.ExtendedProperties[isApprovedFieldId]);

Monday 16 May 2011

krs

http://norpoint.wordpress.com/2010/08/04/sharepoint-20102007-custom-site-column-field-type-and-options/



http://nishantrana.wordpress.com/2009/03/21/adding-a-read-only-field-or-read-only-column-to-sharepoint-list/

http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-custom-list-form-HA010119111.aspx

Wednesday 11 May 2011

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

What are event receivers?

Event receivers are classes that inherit from the SpItemEventReciever or SPListEventReciever base class (both of which derive out of the abstract base class SPEventRecieverBase), and provide the option of responding to events as they occur within SharePoint, such as adding an item or deleting an item.

What files gets created on a file system, when a Site collection is created ?

Windows SharePoint Services does not create any files or folders on the file system when the site collection or sites are created; everything is created in the content database. The Pages for the site collection are created as instances in the content database. These instances refer to the actual file on the file system.

Tuesday 10 May 2011

How to customize application pages in the Layouts folder in SharePoint Server 2007 and in Windows SharePoint Services 3.0

http://support.microsoft.com/kb/944105

How can I edit application.master using Sharepoint Designer?

the application.master is not exposed to SharePoint Designer by default. This is for VERY good reason. Application.master lives in the _layouts directory and this location is not displayed when editing a site using SPD. If you navigate to the _layouts directory to edit and view the application.master you’ll find that you can’t view it in design mode. This should be a hint that maybe you shouldn’t be doing it. Editing pages in this folder will likely result in corruption so DON’T do it. I know, I know….if you’re like me you’re probably opening designer to do this right now because you were told not to…….don’t say you weren’t warned.

How can I edit application.master using Sharepoint Designer?

the application.master is not exposed to SharePoint Designer by default. This is for VERY good reason. Application.master lives in the _layouts directory and this location is not displayed when editing a site using SPD. If you navigate to the _layouts directory to edit and view the application.master you’ll find that you can’t view it in design mode. This should be a hint that maybe you shouldn’t be doing it. Editing pages in this folder will likely result in corruption so DON’T do it. I know, I know….if you’re like me you’re probably opening designer to do this right now because you were told not to…….don’t say you weren’t warned.

Monday 9 May 2011

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.



http://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID=386

Monday 2 May 2011

What has Changed in SharePoint 2010 Object model?

Microsoft has replaced the "12 hive" structure that we had in SharePoint 2007 with "14 Hive" structure in 2010.

It has apparently added three new folders to its hive.

The Folders are :

* UserCode – files used to support sandboxed solutions
* WebClients – used for the client Object Model
* WebServices – New .svc files

Whats New in SPALerts ?

In SharePoint 2007, alerts were send only through e-mails, but in SP2010 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.

Whats New with SharePoint WebParts?

A developer can create two types of webparts using Visual Studio 2010.

1. Visual Webparts - Allows you to Drag and Drop the controls from the Toolbox to WebPart Design surface. You can of course write your custom code in the code file. You can also package and deploy your webparts directly to Sharepoint from VS by pressing Clt+F5. Visual studio 2010 also provides you with three different views for developing webparts. The views are split view, design view and Source view(as we have in designer 2007).

Note : The Visual Webpart project Item basically loads a User Control as a WebPart.


2. ASP.Net WebParts - Where a developer can build up User Interface and logic in a class file. You do not have designer for drag and drop of controls. This webpart inherits from standard ASP.Net webpart. For Deployment we can again use ctrl+f5 to deploy this webpart.

What are the security improvements in SharePoint 2010 ?

In SharePoint 2010 a variety of security methods have been introduced.

Claims-Based Authentication - Claims based authentication is based on identity. and trust.

Code Access Security - in which you can specify your own code access
security (CAS) policy for your web parts.

Sandbox Solutions - Sandbox Solutions which when deployed to the server, SharePoint runs in a special process that has limited permissions.

Cross-Site Scripting - Introduced to prevent Cross - Site Scripting (XSS) attacks.

How many types of Client Object model extension are available in 2010 and when would you use one or the other.

To develop rich client side solutions, three set of client-side APIs has been introduced in the Microsoft.SharePoint.Client namespace. The three APIs are targeted for three different types of clients.
1. .net Managed applications – These are used when we have to create console applications or window applications, web applications which are not running inside SharePoint Contex.
2. For Silverlight applications
3. ECMAScript – It is a client object model extension for using with JavaScript or JScript. This is used for creating applications which are hosted inside SharePoint. For example, web part deployed in SharePoint site can use this JavaScript API for accessing SharePoint from browser using JavaScript.

Monday 3 January 2011

Differences Between Sandboxed and Farm Solutions

Farm Solutions

Farm solutions, which are hosted in the IIS worker process (W3WP.exe), run code that can affect the whole farm. When you debug a SharePoint project whose Sandboxed Solution property is set to "farm solution," the system's IIS application pool recycles before SharePoint retracts or deploys the feature so as to release any files locked by the IIS worker process. Only the IIS application pool serving the SharePoint project's site URL is recycled.

Sandboxed Solutions

Sandboxed solutions, which are hosted in the SharePoint user code solution worker process (SPUCWorkerProcess.exe), run code that can only affect the site collection of the solution. Because sandboxed solutions do not run in the IIS worker process, neither the IIS application pool nor the IIS server must restart. Visual Studio attaches the debugger to the SPUCWorkerProcess process that the SPUserCodeV4 service in SharePoint automatically triggers and controls. It is not necessary for the SPUCWorkerProcess process to recycle to load the latest version of the solution.


http://technet.microsoft.com/en-us/library/ee721992.aspx