Different Content Queries by different page ID's
Hello, I am working with the Content Query webpart, and have encountered the following problem: While displaying the data from a form using the following link , http://my-site/Lists/My-List/DispForm.aspx?ID=5&RootFolder=*, i want to have a Content Query that shows data from another list where the "Goal ID" in the list is equal to 5 (which is the ID of the list i am viewing, and the page ID). This works fine, exept when i try to load another page (ex: http://my-site/Lists/My-List/DispForm.aspx?ID=6&RootFolder=*) the same Content Query comes up. I now want it to show from the other list where "Goal ID" is equal to 6. If i change it, it changes in every page, which is unwanted. Is there a way to solve this problem? Will be thankfull for any help :) Thanks!
February 22nd, 2011 4:54am

This is maybe possible if I change the DispForm.aspx code in Sharepoint Designer?
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2011 6:40am

This is maybe possible if I change the DispForm.aspx code in Sharepoint Designer?
February 22nd, 2011 6:40am

In essence I want a query as follows: Display from that list when the URL of this dispform is equal to http://my-site/Lists/My-List/DispForm.aspx?ID=X&RootFolder. Possible? :P
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2011 6:49am

In essence I want a query as follows: Display from that list when the URL of this dispform is equal to http://my-site/Lists/My-List/DispForm.aspx?ID=X&RootFolder. Possible? :P
February 22nd, 2011 6:49am

Solved the problem! Used Connections between the two lists instead. Thanks :)
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2011 8:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics