Any SharePoint Users? WebPart Problems.

Associate
Joined
20 Oct 2002
Posts
680
Hi All.

I am creating a simple (or so I thought) SharePoint 2007 site. I have 3 lists...

'Projects' a list of textual data, dates, names etc.
'History Log' a list of textual entries, dates and times.
'Documents' a list of word and excel files.

'Projects' is the main list. 'History log' is a list of actions that take place on a project and 'Documents' is project related word and excel files. So in database terms each project can have many history log entries and many project related documents but when I look at the project I want to only see the related documents and history log entries to that specific project.

I have edited the DispForm.aspx for the projects list and added a web part for the other 2 lists on the page. My intention was to have the page show the detail of a project, then the history log and documents web parts would show only the related logs/documents to the chosen project.

Obviously I was planning on doing this with the 'connections' option but for some reason the connections option is not selectable on the project detail part of the page and can only be chosen on the history log and word and excel list web parts.

Could someone tell me why this is and how I can get round it?

Any help greatly appreciated. Thanks.
 
Have you managed to get it sorted?

My major issue when working with sharepoint is the lack of supporting articles available online.

I have done something similar where the user browses through a document library and a second data view shows related links to the folder that they are currently in. However it is way too complicated to explain on here!
 
Code:
http://mysharepointsite/viewprojectdetails/default.aspx?FilterField1=ProjectID&FilterValue1=1

That should do the trick if you've done it how I would.
 
Thanks for the replies.

No this is still not sorted out. I agree though, I do a search online and come up with nothing. I also posted on Experts Exchange but nobody was able to help (well no replies) so far.

Thanks demon9k but I dont really understand what you mean with that? Is it variables on the end of the URL I should be using?

:)
 
Thanks for the replies.

No this is still not sorted out. I agree though, I do a search online and come up with nothing. I also posted on Experts Exchange but nobody was able to help (well no replies) so far.

Thanks demon9k but I dont really understand what you mean with that? Is it variables on the end of the URL I should be using?

:)

Yeah if you put your filter into the URL the document libraries will automatically filter based on those parameters. I've got loads of examples but they are all work related so I can't show them to you. :rolleyes:

"FilterField1" is the column name in your document library.
"FilterValue1" is the value you want to filter on.

Hopefully since you've got a list and a library with the same FK you've named the column the same in both ;)
 
Last edited:
Back
Top Bottom