Blog Home  Home RSS 2.0 Atom 1.0 CDF  
Mike Walsh's WSS and more - Getting to grips with Data View Web Parts in SharePoint Designer 2007
 
 Wednesday, October 24, 2007

I don't know about you, but for me SharePoint Designer 2007 (SPD 2007) may be much more powerful to use but it's also a pain in the neck to use. There's just too much there.

Take Data View Web Part (DVWP) creation for instance. Once I'd done this a couple of times in Front Page 2003 for WSS 2.0 sites, everything was automatic. It was in fact so simple that all you really needed to write in the newsgroups was "use the Data function on the menu line to create a Data View Web Part and follow the UI to specify the source of the data".

When you try to create a DVWP in SPD 2007 it's not enough to know to use the Data menu item, you need a book. At least that's my experience.

The problem of course is that none of the "someday to be released" SPD 2007 books (find those listed here: http://wss.asaris.de/sites/walsh/Lists/WSSv3%20FAQ/V%20Books.aspx) are available at the moment and it looks as if we'll have to wait until 2008.

So what to do in the meantime? One solution is to buy the (warning: shameless plug coming) "Real World SharePoint 2007" book and work your way through Dustin Miller's Chapter 5. Dustin is one of the two co-authors of one of the upcoming SPD 2007 books and also often teaches how to create DVWPs in his training courses, so he knows his stuff.

Of course in one chapter there isn't space for much and this at 20 pages is one of the shorter chapters in the book, but still he finds space to show how to connect to a list; how to do conditional formatting; how to connect to an RSS feed and how to connect to a web service plus a few words on customized and uncustomized pages.

I've been working through the chapter and once I've got the basics of one of these items have of course been messing about to see what I can do to embelish things a bit.

BUT there was one section where I had to mess about to even get things to work as Dustin says is possible by following his instructions.

I did the "connecting to an RSS feed" twice and followed the instructions to the letter and yet both times I ended up either with a visible hyperlinked "Title text +URL" field (which of course gave an error on clicking as the hyperlink wasn't valid) or a hyperlinked "Title text" field that tried to go to http://<mysite>/<mysubsite><Title text> (no wonder that didn't work)

After a lot of messing about I did in the end achieve the aim of a visible "Title Text" that when clicked on actually went to the equivalent (working) URL but I'm not quite sure how and why that happened. Certainly even my second workthrough needed to be fiddled with before that result was achieved.

I suspect that they amended slightly the UI between the version Dustin used and the RTM version - either that or perhaps the more likely scenario of "Walsh can't follow simple instructions".

In any case, Dustin provided me in the chapter with enough information for me to be able to go and fiddle with things until I managed to get things right. That's the main thing. I'm not going to have the book available all the time so I need experience of fiddling!

 

P.S. The usual links to the book

Amazon US: http://www.amazon.com/exec/obidos/ASIN/0470168358/heme0f

Other Amazons' links are listed here: http://wss.asaris.de/sites/walsh/Lists/WSSv3%20FAQ/DispForm.aspx?ID=961

 

10/24/2007 11:32:18 AM (FLE Standard Time, UTC+02:00)  #    Comments [2]   Other Computer | SharePoint  | 
Copyright © 2010 Mike Walsh. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: