Display Task Name and Related Content in CQWP
-
29 พฤษภาคม 2555 12:17
Hi
I've added a CQWP and set it to my Task List, viewing all outstanding tasks.
I also want to view the associated Related Content, that is the title of the original item.
How can this be achieved ?
ตอบทั้งหมด
-
29 พฤษภาคม 2555 14:14What is the Related Content exactly? Do you mean other columns that belong to each task or data from different list linked using a Lookup Column?
w: http://blog.mastykarz.nl | t: @waldekm | c: http://mavention.codeplex.com | c: http://mavention.nl
-
29 พฤษภาคม 2555 16:31
If i am not wrong you are asking for the metadata or the columns related to the tasks.
If so, then you can export the CQWP and then do the changes in the markup of the webpart.
There is a beautiful documentation on it:
-
29 พฤษภาคม 2555 17:00In SharePoint 2010 things are easier with the introduction of slots. You no longer need to export the CQWP and add the custom fields in its properties as you would in MOSS2007. All you have to do now, is to choose an Item Style from the list of available styles and then type the name of the fields that you would like to display. All of that can be accomplished through the web UI.
w: http://blog.mastykarz.nl | t: @waldekm | c: http://mavention.codeplex.com | c: http://mavention.nl
-
29 พฤษภาคม 2555 17:05
Hi
I've created a list (List A) and this has a wf running on it. The wf creates a task. In the task list I can see a column called 'Related Content', This has the title of the item in List A.
In CQWP, I have set it to the task list, it shows the task title but I also want the title of the associated item in List A (Related Content)
Hope this makes it clearer.
-
30 พฤษภาคม 2555 5:59ผู้ดูแล
If you want to display content from your Task list, you can use the ordinary list view web part (xsltlistviewwebpart) and edit the current view for the web part to include the Related Content field. You don't need CQWP for this.
-
30 พฤษภาคม 2555 7:41
hi
I want to add a filter say due date = today also, so I need a CQWP ?
-
6 มิถุนายน 2555 2:58ผู้ดูแลmy test is that if you put the related content field name into the description of the slots, the related content link and title will be displayed, but not as a link to be clickable. It does not work if you put related content into the link of the slots. i also tried use the WorkflowLink,which is the internal name of related content. But it will be changed to related content automatically.
-
16 มิถุนายน 2555 15:41
Hi
Thanks GuYuming
I got round to trying this out and you are correct. When I put 'Related Content' within description it shows the entire URL, is there a way to show jut the title ?
http://sp20103/MyApp/Lists/MyList/DispForm1.aspx?ID=208, Item 208
I just want the 'Item 208'
Thanks