Question

I'm been searching around, and I dont understand why it is, that if I create a query for the projection and I say I want to filter a field of the returned Content Type by a Field of the current user, that no rows are returned.

If I replace the token with a hard coded value, it does work. I'm just missing some important understanding about why the token has no value.

Was it helpful?

Solution

This is not how it works. You may use tokens in projections as long as they are not expected to vary per record. Tokens can be used if they are external data (querystring parameters, etc.) To make your scenario work, you'll have to build your own filter.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top