Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
add comment

3 Answers 3

up vote 3 down vote accepted

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".

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

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.

share|improve this answer
add comment

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.

share|improve this answer
    
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 May 16 '11 at 9:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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