Relationship filter possible on content of module instead of all contenttype

Jun 17, 2014 at 12:00 PM
Playing with the relationship filter already have a sampe test app running but I have question regarding the use of this

var qsOfCat = CreateSource<RelationshipFilter>(App.Data["Referentiecase"]);

this creates the relatonship filter for all content in the contentype, is this filter also possible on just the content of the current module?
Jun 17, 2014 at 12:03 PM
I didn't understand the question. App.Data["contenttypename"] returns a Stream just like from a TypeFilter-DataSource. That's why you can chain it with CreateSource<RelationshipFilter>.

It will only return data from the current App.

So what exactly is your question?
Jun 17, 2014 at 12:12 PM
Let me explain this with an example

Right now we have a content type ( references ) with about 200 items . the content is divided over 5 modules in one portal.

so each module uses the reference content type but has there own content

Now i made a sample app that does the filtering correctly but this is for all the content items so all 200 items that are now in 5 modules. I would like to do the filter on just the items that are added to the current module

so is the relationship filter also possible on just the List of the actual module reference
Jun 17, 2014 at 3:33 PM
For that just use the Data["Default"] --> not the App.Data