We have built two webparts for SharePoint 2007/WSS 3.0.
These two webparts use webparts connections to talk to each other. The providing webpart uses IWebPartRow, the consuming webpart uses IWebPartParameters.
To connect the webparts, the user simply enters "Modify Shared Webpart" mode, and goes through the connection wizard. In that wizard, SharePoint makes it possible to connect any of the parameters provided by the provider to any of the parameters consumed by the consumer.
Example: The provider webparts provides parameters "Param A", "Param B", and "Param C".
The consumer webparts consumes parameters "Param 1", "Param 2", and "Param 3".
With the UI, it is perfectly possible to create a connection like this:
Param A -> Param 2
Param B -> Param 1
Param C -> Param 3
(See attached file "Connecting SharePoint 2007.png" for a screen shot)
In SharePoint 2010, the UI looks a little different, though. Most importantly, the UI doesn't seem to provide a way to connect multiple parameters from the provider, only one of the provided parameters can be connected.
(See attached file "Connecting SharePoint 2010.png" for a screen shot, note the lacking next/previous buttons)
I noticed that SharePoint designer seems to be handle this, but that is so much overkill for me - I only want to user to be able to re-configure the connections, nothing else.
Also, I would have to re-code parts of my webparts, since the lifecycle etc works completely different in the SharePoint design.
Is there any way to connect many-to-many using the web UI in SharePoint 2010, like it is in SharePoint 2007?