in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

This Blog

Syndication

ChadClarkesMOSSBlog

Bug in SharePoint Designer Found!

SharePoint Designer is an excellent tool!!!  As long as you don't use Web Part Connections!!!  SharePoint Designer implants code everytime you open a page with web part connection(s), and then when you save it, the page will error that a connection with connection id ###### already exists... To fix the page, open it in sharepoint designer and remove all child nodes of the webpart manager node.  Hope this helps!

Comments

 

John Jansen said:

I'm actually curious about this. Can you comment on what version of the server you are using? What kind of connection you created? What web parts you used? Did you create the connection in IE and then open that page in SPD? Is this on a layout page or some other page?

I tested web part connections and remember seeing something similar when the framework changed, so I wonder if you have a case I missed...

August 23, 2007 9:50 PM
 

John Jansen said:

Apologies for posting again, but I realized my previous comment was cryptic. I am a Test Lead on the SharePoint Designer Product Group at Microsoft. I own the DataFormWebPart and Web Part Connections.

August 23, 2007 9:59 PM
 

ChadClarke said:

Sorry for the late reply.  It looks like enterprise edition of moss 2007.  The connection was a filter by between a query string web part and list web parts.  I created the connection in IE then opened the page in sharepoint designer, when I go to save it in sharepoint designer, it saves, but then when I go to pull it up in ie, says connection already exists... This is on a layout page.  Let me know if you need anymore information.  And thanks for the comment!

August 29, 2007 4:28 PM
 

machewd said:

I just had the same thing happen to me.  I had a Current User Filter connected to a view of a document library.  I opened the page in SPD to change the widths of the Zones and it inserted code and broke the connections.  What a bunch of crap!!  It's the same old junk Frontpage used to do (why I switched to Dreamweaver a long time ago) and why I cringe when I have to use SPD.  Microsoft cornered the market on working with MOSS, so no Dreamweaver usability.  Oh well, I have to use it because there isn't a better intranet product out there, yet....

September 19, 2007 5:37 PM
 

machewd said:

Oh, and another thing.....You not only have to delete the child nodes.  You have to delete the AttachedPropertiesShared node on the connected web part.

September 19, 2007 5:58 PM
 

Martin said:

Hello John,

I am getting this sharepoint designer behaviour too.

It makes the tool very cumbersome to use  I would say.

Cna you let me know (via this blog) when/if there will be a hot fix for this problem?

Thanks

Martin

October 8, 2007 10:04 AM
 

Fernando said:

would like to know how to initailize the values of the fields in a data view when no value is passed to them.  I have a form web part with a text box taking in  a name string with a web part connection to a dataview (dataview-A).  In dataview-A, I have a field (customerID) that I connect to another dataview-B to retrieve data based on customerID.  It works fine, only issue is, if no data is entered in the form. dataview-A displays a message "there are no items to show in this view" which is great.  But dataview-B still shows the old data persisting.  How do I initialize dataview-B's fields.  If no data is entered all dataviews should display the message and get initilized.  Or on any postback or page load the data should initialize.

October 16, 2007 2:35 PM
 

ChadClarke said:

I would refer you to the msdn blogs....  I'm guessing your speaking of dataview web parts, possibly custom dataview web parts(which are different)....  Technically speaking, you could always use a script to apply a .innerHTML = "There is no data to display".  Depending on the contents of another html element...  However, this is a high level(client side) way to do it....  You probably are looking for a lower level method(server side) which would take some architectural knowledge of the web part, which the creators, microsoft, would have at their msdn blogs....

October 17, 2007 3:59 PM
 

Merrimack said:

I'm experiencing the same problems you are. I have a page with multiple connections and every time i need to tweak something in the designer the connections get screwd when saving the page. It sucks having to reconnect 6 webparts everytime something needs changing.

October 25, 2007 6:35 AM
 

Tandy Wine said:

Question on Dreamweaver:  Can I use dreamweaver to edit Sharepoint?  The real question is, do we need to buy Sharepoint Designer, or can the Dreamweaver we've already purchased do the same thing?

January 7, 2008 8:29 AM
 

ChadClarke said:

Yes, you need sharepoint designer.

January 9, 2008 4:17 PM
 

BobPolakov said:

I have almost the same problem Merrimack described with web part connections lost whenever tweaking anything in SharePoint Designer.  I could not get SPD to properly configure the Current User Filter web part to control the web part connection.  It never offered a choice of which dataview column to map to which UserProfile table column.  Strangely enough, native MOSS did allow that, and worked properly.  But any later change of anything in SPD broke the connection.  Fortunately, the connection can be readily re-established using native MOSS.

John Jansen, if you're still listening, is this a known problem and is there a fix either available or in the works?    

January 21, 2008 8:36 PM
 

Tony Ko said:

I have a similar question...I'm in the middle of designing a public internet website using WSS3.0

I'm using a Contacts list to build a page of contact details.   I'm using SPD to design a page with 2 custom data views...the 1st custom data view is a list of contacts, and the 2nd custom data view contains the details of a specific contact.  I then connected these views using web part connections.

I also have a custom page layout which is being used for all the pages of this website.

Now, when I edit the page of contacts, I had to DETATCH from page layout in order to edit the page and create the custom views and connections.  HOWEVER, when I was finished creating the page, and REATTACH to page layout, the connection breaks.   It seems that the web part connections only remain connected as long as the page remains DETATCHED from the page layout.   This is problem for me because the page layout is being changed, and there are a lot more pages with connections, so I can't leave all these pages detatched from the layout.

Has anyone encountered this problem?  IF so, how have you gone about resolving it?

January 24, 2008 3:27 PM
 

Martin said:

Are there any fixes/patches for the Sharepoint Designer yet that make it better at Web part Connections?

Thanks

Martin

March 31, 2008 3:48 PM
 

Mark said:

I just finished a SharePoint Designer course.  THe only problem ended up being that the course used 3.0 and we have SS2.0 in our package, so the 'Insert fields as Single Item form' is not there, as well as create/view in our SharePoint Designer.  So I am finding it completely impossible to create simple data entry forms in sequence to populate some list tables. (The stupid default ones wont work because they either have a weird toolbar that takes you back to the list (which I don't want the simple user to have access to, OR, if you shut the toolbar off, you get NO way of submitting the form!  I mean, is it just me??  

So I would just use Dreamweaver to create the form code, but there is no way in Dreamweaver to create a record set off from a SharePoint list because the products don't get along.

So basically, 0 productivity....

May 27, 2008 12:32 PM
 

David said:

I am experiencing the same issue with pages that have connections.  Everytime I edit the page, a new proxy is added during the save process.  As you might imagine, this is a real pain in the neck for pages that have many connections.

Also, recently dowloaded and installed office 2007 sp1 and was hoping/praying this would be fixed.  Yeah right.

Can someone from MS add something to this discussion.  At this point, I'll take some sort of hack work around.

June 5, 2008 2:19 PM
 

Vipul Patel said:

I am experiencing problems with paging when using webpart conncetion between 2 dataviews using sharepoint designer.  After connection the 2 views the paging does not work properly.  Does anyone have a solution for this problem.  I am using sharepoint designer.

June 9, 2008 5:41 AM
 

sharepoint designer proxy settings said:

Pingback from  sharepoint designer proxy settings

June 20, 2008 7:15 PM
 

Arun said:

Hi Everybody,

Another problem. I have two DFWP on a page with custom XSL. These two webparts are connected using SPD. The one webpart displays Master list and the other displays Child list. In master the key Column is string and in the child I have created a lookup coumn to refer this master column.

Now the issus is, when the master column contains an apostrophe (ie. Jack's Car), the webpart connection is gettig lost, the child webpart unable to display the related list items.  Without this special character it is working fine.

Is this a bug in DFWP? Is there any method to solve this issue?

Please help me.

Thanks in advance.

-Arun

October 2, 2008 11:42 PM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts