Thursday, July 7, 2011

SharePoint : Connected Webparts

Creating connected webparts involves the below steps. Create an Interface            public interface ITextBoxStringCreate a property which would be returning a reference to the interface.         public interface ITextBoxString         {             string TextBoxString { get; set; }         } Provider Webpart  Implement the interface.   ...

SharePoint : SPJOBLockType

Specifies the lock type for a given timer job definition. There are 3 Locks available.. SPJobLockType.None -- if you set it none, the instance will run in all the available servers in the Farm (e.g. Application Server Timer Job) SPJobLockType.ContentDatabase – this will cause 3 instances to be running in each of the Web-Frontends.in short, it’s almost the same as the Job one, meaning that it only runs one server. SPJobLockType.Job – this will cause only one instance of the job to run on any of the front-end servers. (Note: it is possible...