Saturday, December 19, 2009

SharePoint Solution Architecture

Solution ArchitectureI am just going to share my thoughts on creating solution architecture for sharepoint application Here I have created so many projects don't scare, you can change this according to your requirementsNormally I split solution based on requirements, but I would like to discuss general approach for SharePoint projects based on my knowledge I hope this will help you at least some part of your applicationRSMTechno.CodeBehindRSMTechno.CommonRSMTechno.ControlsRSMTechno.DataAccessLayerRSMTecno.SolutionDemoRSMTecno.BusinessLayerRSMTechno.CodeBehind...

Friday, November 6, 2009

Best Practices while creating webparts

I would like to share some best practices on sharepoint while creating solution/implementation for sharepoint custom applicationWhile creating webparts I prefer that first create custom control and create object for that in your webpart class ,the main advantage of this is in future , suppose if your client want to shift to .net based application because of some reasons, he can easily move in to .net application because you have developed all the components using webcontrol class so you can reuse same controls in your .net applicationI have provided...

Tuesday, September 8, 2009

Creating PageLayouts using Features

Long time back I have posted an article on creating page layouts using SharePoint user interface and designer, now I am going to explain how to create page layouts using features In this article, I am going to use WSPBuilder for building and deploying SharePoint solution, the main advantage of WSPBuilder is no need of creating manifest.xml , DDf file and cab file, the WSPBuilder will take care of creating all these things, so this will simplify our...

Friday, August 7, 2009

SPCustomContextMenu

Hi Guys!Recently I have got some free time, so I thought of utilizing that time as technically, so I have designed and developed a reusable component for SharePoint list and library, this component will be very useful when you customizing context menu of list , document library and developing workflowsI have seen so many people using below code for customizing SharePoint list context menus. But just think about maintenancefunction Custom_AddListMenuItems(m,...

Long time back I have posted an article on creating page layouts using SharePoint user interface and designer, now I am going to explain how to create page layouts using features In this article, I am going to use WSPBuilder for building and deploying SharePoint solution, the main advantage of WSPBuilder is no need of creating manifest.xml , DDf file and cab file, the WSPBuilder will take care of creating all these things, so this will simplify our processFirst, I am going to explain what are the entire things do we need for building SharePoint...

Thursday, June 11, 2009

Using ApplicationDefinitionDesigner to create ADF files

In recent article I have explained some free tools which will make SharePoint development fasterNow, I am going to explain one more tool called ApplicationDefinitionDesigner. This tool will help you to generate ADF file without breaking your headBusiness Data CatalogueActually the Business Data Catalogue will help you to integrate business data from back end servers such as SAP, Oracle etc… to the SharePoint environment without writing single line...

Friday, May 29, 2009

Creating New Page Layouts

Usually sharepoint page layouts will work out in most of the requirements but what you will do if it does not meet your requirements you will have to create your own page layouts for use on the siteCreating page layout is accomplished in five steps1. Define Site Columns2. Define site Content Type3. Create Page layout4. Edit Page Layout5. Publish and Approve Page LayoutI am going to create a new page layout called Activity page for demo, the main...

Tuesday, May 26, 2009

I found something that when i bind SPGridView using SharePoint object model.The strange thing is that if I use this code everything works fineSPDataSource dataSource = GetTravelExpenses();string sCommand = @"<Query><Where><Eq><FieldRef Name='Travel_x0020_Request' /><Value Type='Lookup'>" + ddlTravelRequest.SelectedItem.Text + "</Value> </Eq> </Where></Query>";dataSource.SelectCommand = sCommand;spGrid.DataSource = dataSource;spGrid.DataBind();But when I use this code the CAML query is failing...

Wednesday, May 6, 2009

Microsoft SharePoint Server 2010

Microsoft is going to release Microsoft SharePoint Server 2010 to get more knowledge on this click h...

Monday, May 4, 2009

IE Crashes when ever my client check-out a file from document library

Today morning my client has come up with a problem that when he tries to check-out or check-in a document from a document library, he was getting strange error message, the IE was not able to open Word document, that too it was coming only for few employeesAfter seeing end user environment details i find out that they have installed offcie2003 along with office 2007 on same computerUsually this problem occurs when you install one or more 2007 Office...

SharePoint Media Streaming WebPart

Recently I have implemented media streaming web part (YouTube technology) for one of my client, I would like to share this with you guysThis I have developed for one of my client so, I am not going to share code with you guys.Media streaming web part uses windows media server for playing media files because It is especially useful for streaming large amounts of data over busy, congested networks and low-bandwidth connections. Streaming uses bandwidth...

Tuesday, April 28, 2009

Integrating ASP.NET AJAX in SharePoint

Recently I have done some R&D that is how we can integrate ASP.NET AJAX in SharePoint, here are some steps to make it workAdding Microsoft ASP.NET AJAX Technology to SharePoint PagesTo implement ASP.NET AJAX in SharePoint you will need to perform few steps.First, you need to download and install ASP.NET AJAX on all front-end servers.Second, you need to change web.config with some settings to enable AJAX functionality.Third, you need to add the ASP.NET AJAX Script Manager control into your master page.Creating AJAX based Web partsYou can implement...

Thursday, April 23, 2009

Some good tools to make SharePoint development faster

Some good tools to make SharePoint development fasterWSPBuilderCAML BuilderSharePoint to LinqTed Pattison Group workflow toolsWSPBuilderBy using this tool we can generate SharePoint Solution Package for WSS3.0 and MOSS2007 within secondsSuppose if we want to develop web part in SharePoint first we have to follow lot of steps like manually creating manifest.xml, feature.xml, creating DDF file and we have to package all these things and deploy as a...

Tuesday, April 21, 2009

SharePoint designer is free

Hello Guys,NOW SHAREPOINT DESIGNER 2007 IS FREE!You can download it from Microsoft linkhttp://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42Enjoy guys...

Thursday, March 5, 2009

Creating Approved/Rejected Views

Today i had a chat with client , he wanted only Approved documents in document library on webpage. initially i thought it was easy when i tried to create a filter and setting the status field to "Approved". but i did not get any approved documents. I wondered finally i came to know that workflow status is taking numeric values(I think backend enumeration) only.The values are belowNot Started 0Failed on Start 1In Progress 2Error Occurred 3Canceled...