Unless of course you're trying to configure the web part using its provided interface and want to filter on a custom content type for pages on another site. Then the CQWP just breaks and refuses to work again even after restoring the settings to default.
Apparently people just accept this as a known limitation?? Seems like quite an oversight that folder creation is allowed but that an explicit path can't be used to target items. [My therapist told me it was healthy tp vent about these things publicly. :D] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Cunnington Sent: Thursday, 18 September 2008 8:37 AM To: [email protected] Subject: RE: [OzMOSS] CQWP and group by folder In my experience, this is a very good case for why it is a good idea to stay away from folders and use metadata on the list/library, makes it much easier to get to later. If the documents are grouped by columns instead of folders, you can then easily perform the function that you need by using the CQWP without using CAML. Just my 2 cents :) Cheers Aaron From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clayton James Sent: Wednesday, September 17, 2008 8:46 PM To: [email protected] Subject: RE: [OzMOSS] CQWP and group by folder Hi Michael You can embed your own CAML code in the CQWP so if you have the right CAML all should be good. To embed your own CAML code you need to export the CQWP, modify the .wepart file (QueryOverride property) with your own CAML and then re-import the .webpart back into the gallery. Use this as an example. http://phet.net/sharepoint/post/Embed-CAML-Queries-into-the-Content-Query-Webpart---Finding-Draft-Publishing-Content.aspx cheers CJ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Nemtsev Sent: Wednesday, 17 September 2008 11:43 AM To: [email protected] Subject: [OzMOSS] CQWP and group by folder Is there any way, to use OOTB settings of CQWP to set filtering of grouping of Document Library files by enclosed folders I have Document library with name "Reports", where they created not files, but new subfolders "Company A" and "Company B". Now they want to show content of those folders in separate CQWP, but I can't find the way how to achieve this via CQWP. Using CAML Query I see that there are several fields, which helps me detect in which folder files locate - "FileLeafRef", "Link FileName". But I can't find those properties in Filter and Group items list of CQWP. What items help me to filter or sort all items in specific document library by subfolder name?! Michael Nemtsev | WSS MCTS, MS MVP Readify B: http://laflour.spaces.live.com<http://laflour.spaces.live.com/> T: +61 424 184 978 E: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.21/1675 - Release Date: 16/09/2008 07:06 PM ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com
