views:

241

answers:

1

I am trying to setup a content query web part in MOSS that will display documents on a page based on a choice column that I created. I have created a "Page" column and added it as a core document column for my site. What I would like the CQWP to do is filter the document list that is displayed based on this Page column. However, this column does not show up as a filter in the CQWP on the page. I tried following the instructions in this question: http://stackoverflow.com/questions/1848695/content-query-webpart-grouping-by-custom-column to no avail. Does anyone have any ideas as to how I can accomplish this?

+2  A: 

Have you tried CommonViewFields as suggested in the second answer from that other question? You can edit the property in SharePoint Designer or by exporting the web part, changing the CommonViewFields in Notepad, and then re-importing the web part. If CommonViewFields doesn't work, you can always modify the filter property directly in either SPD or using export-Notepad-import. Be sure you are pointing to a Content Type that includes your custom field.

Rich Bennema
How do you access the filter directly (sorry, I'm a little new with SPD)?
Psycho Bob
In SPD, select the CQWP. In the CategoryConfigureQuery category of the Tag Properties pane, edit FilterField1, FilterOperator1, FilterType1, and FilterValue1. Instead of starting with a blank slate, I would set the filter to a field that is appearing in the webpart builder in the browser and then modify the settings as necessary in SPD.
Rich Bennema