+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Filter Back-end by Dynamic Module Items

Filter Back-end by Dynamic Module Items

4 posts, 0 answered
  1. Travis
    Travis avatar
    86 posts
    Registered:
    15 Oct 2008
    16 Aug
    Link to this post

    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: http://screencast.com/t/xiLZNETLDM5v. Is it possible to achieve this without writing a custom control (via the DynamicModuleConfig file)?

     

    Thanks,

    Travis Brown

  2. Travis
    Travis avatar
    86 posts
    Registered:
    15 Oct 2008
    26 Aug
    Link to this post

    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: http://screencast.com/t/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?

     

  3. Travis
    Travis avatar
    86 posts
    Registered:
    15 Oct 2008
    29 Aug in reply to Travis
    Link to this post

    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

  4. Travis
    Travis avatar
    86 posts
    Registered:
    15 Oct 2008
    01 Sep
    Link to this post

    Is there anything that can be done to achieve this?

4 posts, 0 answered