This project is read-only.
1
Vote

Missing Web Parts

description

I've noticed that customised list forms lose any dataform web part(s) that were added. The destination file just strips it.
 
Is this usual? I haven't tried with OOTB web parts yet.

comments

panoone wrote Oct 6, 2011 at 5:02 AM

That should read "List Views" where the default web part has been converted to a dataview.

panoone wrote Oct 6, 2011 at 5:14 AM

And now I see why. The ListID doesn't get modified to to match the new list. :(

I suppose this could be done programatically? But I have no idea where to start.

panoone wrote Oct 6, 2011 at 6:15 AM

Managed to resolve this by substituting ListName for ListId within the DVWP XML.

It's ugly - and I'm pretty sure it'll break as soon as anyone changes the Display Name - but it works. :)

I also spelled this out in the List Description.

wrote Feb 13, 2013 at 11:18 PM