More in this section
Forums / Module Builder / Hierarchical dynamic content filtering in feather designer

Hierarchical dynamic content filtering in feather designer

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Hooman
    Hooman avatar
    19 posts
    24 Jun 2016
    21 Jul 2016
    Link to this post

    I have a module for Products.  It has a Product content type and also a ProductPromotion content type. I have made the Product content be the parent of the ProductPromotion.  I have a custom Product widget.  In the widget designer I have a selector to pick the desired product.  I now want to add a second selector that'll let me pick a ProductPromotion.  I have laid out the selectors however, I don't know how to limit the ProductPromotion selector to only display the items for the selected product/parent only.  As it is, it is displaying all ProductPromotions.

    <sf-list-selector sf-dynamic-items-selector sf-item-type="properties.ProductType.PropertyValue" sf-master="true" sf-selected-item-id="properties.ProductId.PropertyValue" sf-provider="properties.ProductProviderName.PropertyValue"/>
    <sf-list-selector sf-dynamic-items-selector sf-item-type="properties.ProductPromotionType.PropertyValue" sf-master="true" sf-selected-item-id="properties.ProductPromotionId.PropertyValue" sf-provider="properties.ProductProviderName.PropertyValue" />


    Ps: I don't have to use child content necessarily. I can have the product promotions be standalone content and use the related data field to associate a product to its promotions.  Either way would wold work as long as the second selection list can be limited to the promotions for the selected product in the designer.

1 posts, 0 answered