Follow in Twitter & Facebook


Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools


Friday, July 29, 2011

XSLT list view web part in SharePoint 2010

- No comments
The list view web part are used by SharePoint to list and library data. When a new list is created, the web part for the list is also created automatically.List view web parts can show one view at a time from the list or library to which it is pointing.If you want to show more than one view of a list or library on the same page, just deploy a new list view web part pointing to the same list, then configure it to show a different view of the list. Once you insert the web parts into the page, it is easily customizable by using browser.

The list view web part is obsolete in SharePoint 2010. The new web part is known as XSLT List View Web Part. You can deploy the web part into a SharePoint page by using either browser pr by using SharePoint designer.To add this by the browser, go to the page then from the Ribbon click on Insert web part and from there go to the List and Libraries section and select the web part.

How it works:
It fi rst queries the list or library data and retrieves it as XML.
Then it uses industry-standard eXtensible Stylesheet Language Transformation (XSLT), which is a style sheet language for XML documents, to convert the XML data into HTML that the browser can understand and display to the end user. It uses shared XSLT style sheets that are presented inside the _layouts directory.


XSLT Data form web part in SharePoint 2010
This web part is introduced in SharePoint designer 2010. This is not availabe in web part gallery so we can not add using browser. In SharePoint designer 2010 if you want to display data on a page from outside SharePoint like XML files, databases or web services the Data form web part will be responsible for that.

Tuesday, July 26, 2011

Create a List using SharePoint Designer 2010

- 1 comment
Introduction:
In this article we will discuss how to create a list in SharePoint 2010 by using SharePoint 2010 designer. You can also check some SharePoint list and document library here.
Description:
You can create a List in different ways, like you can use a browser to create a list, you can use Visual Studio 2010 or you can use SharePoint designer 2010 for creating list. Here we will discuss how to create a list using SharePoint designer 2010. Please follow the step below.

Open SharePoint designer by going Start ->All Programs ->SharePoint and then Select SharePoint Designer 2010.Click on Open Site. And in the dialog box enter the URL of your site and click on OK. It will ask you for your User Name and Password. Please enter both and click on OK.

Then it will open the Site. Choose custom list from the ribbon. From there click on Custom List. Shown in figure below.


It will show the Create list and document library dialog as shown below pics.


Then enter the list name in the list name box and description in the description box. And click on Ok.
Once the list is created it will appear as like below.

You can also check some SharePoint 2010 designer articles.

Monday, July 25, 2011

Calling LoadLibraryEx on ISAPI filter "c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" failed in SharePoint 2010

- No comments
I got this error while installing SharePoint 2010 in my Windows 7 laptop. The error is:
Calling LoadLibraryEx on ISAPI filter "c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" failed

To resolve this issue Open the command prompt in Administrative mode then Go to C:\Windows\Microsoft.NET\Framework64\v4.0.30319 and then run the command aspnet_regiis -r.
This worked for me and hope will work for you. You can also check SharePoint Forum Topics here.

Sunday, July 24, 2011

What is field controls in SharePoint 2010?

- No comments
Field controls are great for placing content in a fixed location on the page to create a consistent look and feel. Field controls are simple controls that correspond to site columns defined in the underlying content type of the page layout. Also the content in the field control is also versioned when the page is versioned. The content of the field control is the metadata or page properties.

Saturday, July 23, 2011

Create a custom page layout in SharePoint designer

- No comments
Introduction:
In this article we will discuss how to create a page layout using SharePoint designer. In the previous article we have discussed how to create custom master page by using SharePoint designer 2010 in SharePoint 2010 and also we have discussed how to change page layout programatically in publishing site.

Details:
To create a custom page layout using SharePoint designer follow the below steps.

- Open the SharePoint designer and Open the SharePoint site.

- Click on Page Layouts -> then Navigate to the New section in the Ribbon and Click on New  Page Layout.

- Then select the Page Layout content type group. Then select the Page.

- Then give the page layout a meaningful URL name without space and then Give a title and
click on OK. Now your page layout is ready.

Create a site column using SharePoint designer

- No comments
Introduction:
In this article we will discuss how to create site column in SharePoint designer. We already discussed about master pages in SharePoint 2010.

Description:
To create a site column using SharePoint designer follow these steps:

- Oper SharePoint designer -> Open the SharePoint Site -> Click on Site Columns ->Click the Site Column tab in the Ribbon -> Navigate to the New section in the Ribbon and then click on New column.

- Select the data type for the column -> Then the Create a Site Column dialog box will appear.

- Give the name of the site column and give the description in the Description field. Also you can put the site column into an existing group or you can put that into a new group. Then click on OK to save it.

You can also check some master page and page layouts articles here.

Friday, July 22, 2011

Master Pages in SharePoint 2010

- 2 comments
Introduction:
Here we will discuss about master pages in SharePoint 2010 and what are the different master pages presented in SharePoint 2010.


Description:
Master page in SharePoint contains Content PlaceHolders. Content placeholders are areas of replaceable content on the master page. The tag is <asp:ContentPlaceHolder>. A master page may define many ContentPlaceHolder controls, a page does not have to implement a corresponding content control. There are contentplaceholders like PlaceHolderMain, which displays the main body of the page. PlaceHolderLeftNavBar, which contains the Quick Launch bar on the left side of the page, PlaceHolderTopNavBar, which contains the Top Navigation tabs at the top of the page, and PlaceHolderSearchArea, which contains the page’s search controls.

Master pages are stored in a special Master Page Gallery library located within each site collection in the /_catalogs/masterpage directory. This library is accessible from the Site Collection Settings page as well as in SharePoint Designer.


Only one gallery exists per site collection and it is automatically populated when a new site collection is provisioned. Master pages cannot be shared across site collections, but a root site can share its master pages with the other sites in its site collection.


SharePoint foundation contains 5 different out of box master pages like: v4.master, default.master, minimal.master, simple.master, and MWSDefaultv4.master. and SharePoint 2010 contains nightandday.master page.


v4.master is the default master page for most non-publishing sites in SharePoint 2010. It is also the default system master page in both SharePoint Foundation and SharePoint Server.


Default.master is helpful from upgrading MOSS 2007 sites to SharePoint 2010 sites.


The minimal.master page is best suited for pages with minimal branding and navigation. The minimal.master is used with search pages and Office web applications.


simple.master is the master page used for error and login pages. It lives in the fi le system and is not available in the master page gallery.


The MWSDefaultv4.master is found in the master page gallery of meeting workspace sites.


The nightandday.master page contains controls specialized for publishing web content management.
You can also check a Master Page Tutorial here.