Filter Back-end by Dynamic Module Items

Posted by Community Admin on 04-Aug-2018 18:41

Filter Back-end by Dynamic Module Items

All Replies

Posted by Community Admin on 16-Aug-2016 00:00

Hello,

I have a built-in dynamic module, Projects. Each project object has a reference to another dynamic module, Vendors. In the back-end listing, I would like to add the ability to filter by one or more of these linked vendors. I'm envisioning something similar to the taxonomy filtering found here: screencast.com/.../xiLZNETLDM5v. Is it possible to achieve this without writing a custom control (via the DynamicModuleConfig file)?

 

Thanks,

Travis Brown

Posted by Community Admin on 26-Aug-2016 00:00

Hello,

 

In my case, the object I'm trying to filter is Projects and the object I'm trying to filter by is Vendors.

I've made some progress on this, but have hit a bit of a wall. I added a new sidebar filter to my modules Filter section, then, I added a new sidebar section for my filter.

My vendors section of my sidebar is configured with the Closevendors button as the vendorsFilter. For the vendorsFilter, I have no Data Source or Custom Commands configured, but the itemType is tied to my type.  The filter itself uses the DynamicModules  data.svc to serve thelist of vendors. The ItemsCount is not populated, but, I'm not terribly concerned with that at the moment.

Up to this point, aside from the ItemCount missing (which, I get, my service call is not contextualized to my module) I get my list of vendors correctly. However, when I click on a vendor, I get an error citing an embedded call in a script resource file (call stack: screencast.com/.../Uq3ipgcSv). I assume this is due to Sitefinity not having all the information it needs to filter my data. How can I provide this data so that my client can filter their data by related items?

 

Posted by Community Admin on 29-Aug-2016 00:00

Hello,

Is there really no information available on doing this? Is it unclear what I'm trying to achieve? I'd really like to get some information on how to achieve this behavior, and it seems like it's almost completely supported out of the box, so, is there an article or something that describes how to do this? I can't imagine this is an uncommon type of back-end filter (filtering by related content items, as opposed to by taxonomy).

 

Thanks

Posted by Community Admin on 01-Sep-2016 00:00

Is there anything that can be done to achieve this?

This thread is closed