We have a LIST of web pages that we use as News items on our Sharepoint 2007 site. On our main page, we have a Content Query WebPart that queries this list, and nicely displays the name, and a few lines of the content. This is taken from our Pages Library that was created as part of our Publishing Template. We would like to "Group" items by categoriezing them (Top Stories, Location-Specific Events, etc) and show them using the Content Query WebPart. We have created a custom column called "News Category" and we would like to group the items inside the Content Query WebPart by this. Unfortunately the Custom Column doesn't show up when sorting through the "Group By" fields.. Is this at all possible, or am I wasting my time? We are not looking to add 3rd party components to our site at this time...
Excellent thanks!
Kolten
2009-12-04 19:12:17
+3
A:
I believe you need to create a Site Column instead of a custom column within the list. You would then need to add that site column to your list. Here's how:
- Select Site Actions->Site Settings.
- In the Galleries column, select "Site Columns"
- Click "Create"
- Enter in the relevant information.
- In your list, goto Settings -> List Settings.
- Select "Add from existing site columns"
- Add your column to the list.
- In your list, add data to the column as needed.
- Back on the page showing your CQWP, modify the shared part.
- Select Presentation. Under Group items by, select your site column.
AMP
2009-12-04 18:47:19