4

I'm curious about what happened to Data View Web Part in Sharepoint 2010. Can I or should I use XSLT List View to do what I was doing with DVWP in Sharepoint 2007?

I tried to use XSLT List View Web Part, but I found its stylesheet harder to customize to make it suit to my needs. Is there a basic, minimal stylesheet that I can apply to a newly created XSLT List View Web Part object?

3 Answers 3

5

The DVWP is very much still alive and kicking in 2010. I've moved quite a lot of DVWPs and XSL snippets from 2007 to 2010 and I've not seen any issues.

It may be a little hard to see where to insert a DVWP in SharePoint Designer 2010 rather than an XLV Web Part. In the ribbon, go to Insert / Data View, and at the bottom of the menu, you'll see "Empty Data View".

8
  • How does one go about getting a Data View Web Part to appear in the web-parts inserter (Enterprise 2010)?
    – bgmCoder
    Commented Nov 21, 2012 at 3:26
  • Export/import is the way... Commented Nov 21, 2012 at 12:14
  • Thanks, but I can't find one to export (I think I am missing something)...
    – bgmCoder
    Commented Nov 21, 2012 at 15:08
  • In the dropdown in the upper right of the DVWP in the broswer, you should see Export as an option. Commented Nov 21, 2012 at 18:21
  • That's just it, I can't find a DVWP! Where do I locate one?
    – bgmCoder
    Commented Nov 21, 2012 at 20:27
4

The XSLT View Web Part is the baby brother of the DVWP, it's easier to set up and configure, but the limitations are with how customisable it is, which are probably the problems you're coming across.

Laura Rogers has a screencast video here, where she explains the differences between the two.

1
  • There are other limitations with the XLV Web Part. For example it only connects to lists, while the DVWP connects to various xml sources.
    – Christophe
    Commented May 16, 2011 at 9:48
3

You can use DataViewWebPart in SharePoint 2010 without any limitations, as far as I know. I often use it from SharePoint Designer 2010.

It is even not obsolete or deprecated, as you can see from it's MSDN reference.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.