Skip to main content

Posts

Showing posts from August, 2011

HOW TO:Forms Based Authentication (FBA) on SharePoint 2010

** Note: This FBA configuration method is based upon the pre-release version of SharePoint 2010 and may change in the final release ** The following article details FBA configuration on a SharePoint 2010 site. If you are looking for information regarding the configuration of FBA on a SharePoint 2007 / WSS 3.0 site, check out  this article  instead. Setup your SharePoint 2010 site In Central Admin, create a new site. By default, this will use Windows Authentication. Since we haven’t setup FBA yet, we need to setup the Web Application first as a Windows site. Create the Web Application Create a default Site Collection, and make a windows user (below we’ve used the Administrator account) a Site Administrator. Setup your User Database Setup the ASP.NET Membership Database. Note: You can use custom membership stores, DotNetNuke, even Live! credentials. But the .NET membership database is very simple to setup. This requires the  SQL Server  database. You can use the integrated ve

SharePoint 2010 – How to use Audio and Video Webpart

Video and Audio Web Part [ a.k.a Media Web Part ] is one of the new cool web parts in SharePoint 2010, so in this article I am going to show you the way to add this web part in your page. To add Media web part to the page you must activate those two features 1- SharePoint Server Publishing Infrastructure Feature in Site Collection features 2- SharePoint Server Publishing Feature in Site features After that edit page then click on Insert tab in SharePoint Ribbon then select Video and Audio Now the Media Web Part in the page Click on the Media Web Part and you will find Options Tab in the Ribbon As you can see in the Options tab there are Chang Media button allow you to select the video and Chang Image button to change the image of web part and Styles (Dark, Light) Click on Change Media to select the Media file. From Computer opens up the Upload media so you can upload the video and display it. Once you click ok and saving the page. Click on play button and enj

Creating Custom Timer Job in SharePoint 2010

Open Visual Studio 2010 >File > New >Project >SharePoint 2010>Empty SharePoint Project. >Name it Custom_TimerJob>Ok Check Deploy as farm solution>Finish create a class that inherits from the Microsoft.SharePoint.Administration.SPJobDefinition class. To implement this class, you need to create a few constructors and override the Execute() method as following 01 namespace DotnetFinder 02 { 03      class ListTimerJob : SPJobDefinition 04      { 05           public ListTimerJob() 06 07              : base () 08          { 09 10          } 11 12          public ListTimerJob( string jobName, SPService service, SPServer server, SPJobLockType targetType) 13 14              : base (jobName, service, server, targetType) 15          { 16 17          } 18 19          public ListTimerJob( string jobName, SPWebApplication webApplication) 20 21              : base (jobName, webApplica