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

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.

0 on: "XSLT list view web part in SharePoint 2010"