I am currently inserting a Content Query Web Part inside a custom Edit form for a list. The idea is to display a link to a file in a Document Library. I got it all to work except the filter in the content query.
The Document Library has an added single text column for Client Name. The list has a Lookup Column to get the Client Name from the Document Library.
I am setting the filter in the Content Query as follows:
Show Items When: ClientName is equal to [PageFieldValue: Client]
ClientName is the column in the Document Library. Client is the lookup column in the list for which the custom form is being created.
Any help would be appreciated.