keyongtech


  keyongtech > vsnet.* > vsnet.general > 09/2003

 #1  
09-02-03, 05:42 PM
David Remillard
What are some options for creating a many-to-many
relationship between two web parts? For example, I have
a client list and a contact list. A client can have
multiple contacts and vice versa.

Typically, I would use an intermediate table with foreign
keys to both the client and contact tables. I've had
some limited success with setting up the lists, but can't
seem to get the behavior that I need (which is: when I
display client in one web part the associated contacts
show up in another connected web part ... but using an
intermediate table as part of the equation). Here's my
many-to-many relationships:

client -> intermediate_table <- contacts


After setting up the three lists in my test case, I put
three web parts on a page and tried to set connections
appropriately, but got a message saying that the number
of inbound connections (to my intermediate list) was
exceeded because I had already set the other connection.


If I'm thinking about this in the wrong way, and there's
a better approach ... I'm open.

Thanks in advance.

Dave.
 #2  
09-03-03, 11:09 PM
John Eikanger [MSFT]
Hi, David

I assume your web parts are in the context of a sharepoint server.

Are you using SPS 2001 or 2003?

What is your backend database?

Are the connections you are referring to between your web parts, or to the
database?

I assume these are custom Web Parts. What programming language are they
written in?

Please get back to me with more information and I will see what I can do to
help.

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
(c) 2003 Microsoft Corporation. All rights reserved.
--------------------
| Content-Class: urn:content-classes:message
| From: "David Remillard" <dar>
| Sender: "David Remillard" <dar>
| Subject: Many-To-Many Web Part Connections?
| Date: Tue, 2 Sep 2003 09:42:06 -0700
| Lines: 31
| X-Tomcat-NG: microsoft.public.vsnet.general
|
| What are some options for creating a many-to-many
| relationship between two web parts? For example, I have
| a client list and a contact list. A client can have
| multiple contacts and vice versa.
|
| Typically, I would use an intermediate table with foreign
| keys to both the client and contact tables. I've had
| some limited success with setting up the lists, but can't
| seem to get the behavior that I need (which is: when I
| display client in one web part the associated contacts
| show up in another connected web part ... but using an
| intermediate table as part of the equation). Here's my
| many-to-many relationships:
|
| client -> intermediate_table <- contacts
|
|
| After setting up the three lists in my test case, I put
| three web parts on a page and tried to set connections
| appropriately, but got a message saying that the number
| of inbound connections (to my intermediate list) was
| exceeded because I had already set the other connection.
|
|
| If I'm thinking about this in the wrong way, and there's
| a better approach ... I'm open.
|
| Thanks in advance.
|
| Dave.
|
|
Similar Threads
Web Part Connections

I have a WSS3.0 site and connecting to an SQL 2000 database. I have web part connections working properly to ensure my users are looking at the right data. I have a multi...

Web Part connections

I would like to create different text filter web parts that connect to the same list web part, offering my users the ability to search on different columns of the same list. ...

MOSS 2007 Web Part Connections - no connections option?

hi, im new to Microsoft office Sharepoint server but seem to be having a problem with a basic issue. I want to use the Current User web part to filter a form library but when...

Web Part Connections in WSS 3.0

Do web part connections work in WSS v3.0 when the parts are on different pages? I'm using Sharepoint Designer and have been successful connection web parts when they are on...

Web Part Connections

I'm trying to model a web part connection relationship between an Event Calendar and a Task List. The specific scenario is that the customer has created an Events Calendar...


All times are GMT. The time now is 04:18 PM. | Privacy Policy