3

I'm using SharePoint 2007.

I need to use "Content Query Web Part". This web part displays a link to the item, I need the content type to show me all the rows (item). Is that possible?

I do not want to use List View Web Part because it's not dynamically change (if I add column in the "list view" I need to refresh the "list view web part").

I do not found the "fields to display" in CQPW. this is how it's look: enter image description here

3
  • Can you clarify more about what you need to show? Dec 22, 2011 at 10:52
  • 1
    This really needs more detail
    – Dave Wise
    Dec 23, 2011 at 17:57
  • In one list I have 15 views. Those views are change all the time (the view manager delete\remove\add column). I need to display all those view in web part page and I need that those view will change dynamically.
    – liron
    Dec 26, 2011 at 9:38

3 Answers 3

1

You better use the List View Web Part to show all the Columns of a List. If you still want to show some more Fields in the CQWP, you can add some Fields in the Webpart Settings (The amount of fields is different on each CQWP Template)

CQWP Settings

2
  • Hi! I do not want to use List View Web Part because it's not dynamically change (if I add column in the "list view" I need to refresh the "list view web part"). I try to add some field in the CQWP but I do not find the "Fields to display".
    – liron
    Dec 26, 2011 at 9:23
  • what URL Path I need to enter in the field "Field to display" "Link" ???
    – liron
    Feb 2, 2012 at 9:29
1

"Fields to display" is a SharePoint 2010 feature. To display fields in SharePoint 2007 - following these instructions.

1

I think that the easiest way it to create your own web part, you will specify following things:

  1. List to work with (web if not only current required)
  2. View to work with

After you can get a view of the list and use it's method RenderAsHtml() to render html. Thus you will always get all changes made to view once they are made.

Please see examples of approach implementation: http://trentacular.com/2009/08/sharepoint-enhanced-list-view-web-part/ or http://www.amrein.com/apps/page.asp?Q=5784

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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