Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I created a Calendar List and a Project Tasks list. Then I added a lookup from the Tasks list to the Calendar list. However, when I try to connect the two with the related field visible on both list view web parts, the connection is greyed out. How do I make this work?

There is very little information available on connecting web parts on a web part page. This seems to be too advanced a topic for most of the end user resources. On the other hand, it's not a developer or IT Pro topic either.

The Administrator's Companion and the "SharePoint 2007 User's Guide" by Seth Bates both have one page on the topic. Office Online, Connect Web Parts, is not complete.

Update 1/29/2010: Rereading my question and Brian's answer, I've given him the credit. This question really has two parts and he did help me get my web part connection working. The best reference for Web Part Connections is still open, though I'll copy it into a new question.

share|improve this question
add comment

3 Answers 3

up vote 4 down vote accepted

If you try to connect a calendar view with anything it will fail. That view doesn't support connections. Same with Gantt chart. Now the calendar is just a specialized view of some Event content type. So if you can live with standard list view it will connect to tasks list. Just make sure all columns you want to connect against are visible in the view for both web parts and the data types match. I think you can have implicit impedance match too for example a number field will connect with a text field. I agree it's very hard to find info on web part connections. I have many battle scars working on these things.

share|improve this answer
    
I like the idea that somehow the view can influence the list web part's ability to connect. I played with this a little already, but I'm going to revisit it now. –  Tom Resing Dec 11 '09 at 3:40
    
Thanks. I'm getting the connections in my calendar web part. Still looking for a good reference, though. –  Tom Resing Dec 11 '09 at 14:33
    
I am facing with same issue that with calendar view connections are not possible with sharepoint list filter. But i want to filter my event types and display only selected event type values. Any help would be appreciated –  Richa Jain May 13 at 6:53
add comment

If you think that it is hard from an end user's standpoint, try doing development with it! I think they have simplified it some over the 2003 version.

The one thing that you have to keep in mind is that the data being passed must be defined. There are different "formats" for this contract; Row, Cell, or Parameters. The provider and the consumer must be able to agree on the format, which is why you are likely having problems. A web part that is otherwise connectible may not show as being available for connections if there are no web parts on the page that can talk to it.

The Office Online article is the best article I've found, but I haven't looked for any other content since the initial migration to MOSS.

I'm not sure why the Calendar list couldn't be connected to the Project Task list. In the past I've done a lot with connecting Parent and Child records with both lists shown on the page. I've also wired up some custom web parts to help with additional filtering and creation of new list items via a standard template.

All of the standard list views, the filter web parts, DataViews, etc should fully support connections.

Hopefully that helps at least a little.

share|improve this answer
    
Thanks. You didn't answer my pressing question, but confirmed what I thought was true. There is little info on this abailable. And I agree. Custom Web part development with connections isn't much easier. At least MSDN has articles on that, though. There's little from this perspective. –  Tom Resing Dec 10 '09 at 3:58
    
I concur in that I've never seen anything which really spells this all out. I would think that there would be a matrix showing what is connectable to what where, but if it exists, I've never seen it. As with so many things SharePoint, it's the blogs that have the good stuff. –  Marc D Anderson Dec 10 '09 at 21:57
add comment

Tom,

Laura Rogers has done a lot of work with connecting web parts. I don't think she has much info on her blog, but she may be able to give you some assistance if you ping her. @wonderlaura on twitter.

share|improve this answer
    
Thanks, Lori. I'll ping her. Someone should blog it, no? –  Tom Resing Dec 16 '09 at 23:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.