2

I'm creating a custom page layout that contains a CQWP that I'd like to display documents related to the page. The document library has a lookup column that relates to the page title in the Pages library. In the CQWP I've got a filter value of [PageFieldValue: Title].

I can't get the CQWP to display any documents. If I instead filter on a "Single Line of Text" field where I manually type the Page Title, it works fine, so I know it's not an issue with the filter value.

I assume the issue is that the lookup field is actually returning something like "1#;Page Title", but I don't know how to account for that in my filter.

  • I appreciate it would mean adding another step but how about adding a topic column to your page library and using that to filter on instead? You could either create a separate lookup list and have both the page library and the document library lookup from this or use a term set. Another possibility is to add the Title as a URL parameter and filter with that instead? – Dave Paylor Mar 15 '13 at 22:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.