Projection Filter on Content Type Field

Topics: Core, General
Apr 16, 2013 at 12:34 PM
Edited Apr 16, 2013 at 7:46 PM
Struggling to find docs on how to expose filter criteria from a custom content type. Example is as follows: I have a custom content type called Product. Product has a field called Category.

How can I expose the category filter when creating a projection query?

Any tips greatly appreciated.
Apr 17, 2013 at 6:01 PM
Really do need some assistance here if anyone could help shed some light.
Developer
Apr 17, 2013 at 7:52 PM
Is Category a content field attached to the Product content part, or is it a property in a Product part class?
Developer
Apr 17, 2013 at 7:52 PM
Edited Apr 17, 2013 at 7:53 PM
So Category is a content fields (like TextField)? These are indexed by Projector and you should be able to see them in the list when adding filters.

Edit: no, Sipke, I was first!
Apr 17, 2013 at 8:07 PM
Thanks for the replies. It would be a content field specific to the content type so could be arbitrary string value.
Developer
Apr 17, 2013 at 8:47 PM
Edited Apr 17, 2013 at 8:47 PM
Piedone wrote:
Edit: no, Sipke, I was first!
The fact that my posts appears first states otherwise, buddy! :)
Developer
Apr 17, 2013 at 8:48 PM
Nooboon wrote:
Thanks for the replies. It would be a content field specific to the content type so could be arbitrary string value.
Ok, then see Zoltan's answer.