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

Forums / Project Feather / Multiple content item selector for dynamic items in widget designer

Multiple content item selector for dynamic items in widget designer

3 posts, 0 answered
  1. Ale
    Ale avatar
    0 posts
    Registered:
    21 Jul 2016
    26 Jul
    Link to this post

    Hi,

    I was able to implement the multiple content item selector in a widget designer, I can pick items from my dynamic module without issues.

    The problem is when I try to save the values.

    If I follow exactly what states here: http://docs.sitefinity.com/feather-use-multiple-content-items-selectors

    I build this selector <sf-list-selector sf-dynamic-items-selector sf-item-type="properties.ItemType.PropertyValue" sf-master="true" sf-identifier-field="Title" sf-multiselect="true" sf-selected-ids="selectedIds" sf-selected-items="selectedItems"></sf-list-selector>

    and I don't get the values saved.

    If I change the sf-selected-ids to something like

    <sf-list-selector sf-dynamic-items-selector sf-item-type="properties.ItemType.PropertyValue" sf-master="true" sf-identifier-field="Title" sf-multiselect="true" sf-selected-ids="properties.SelectedIds.PropertyValue" sf-selected-items="selectedItems"></sf-list-selector>

    I get this error 

    There was an error deserializing the object of type Telerik.Sitefinity.Modules.Pages.Web.Services.Model.WcfControlProperty[]. End element 'PropertyValue' from namespace '' expected. Found element 'item' from namespace ''.

    Properties and js functions are exactly as in doc link.

    Any guidance would be helpful, thanks.

  2. Hooman
    Hooman avatar
    19 posts
    Registered:
    24 Jun 2016
    04 Aug
    Link to this post

    I am having this same issue.  I have the following selector and get the same error when i save.  I don't use any json or JS files since i don't have any customization.

     

    <sf-list-selector sf-dynamic-items-selector sf-provider="properties.ProductProviderName.PropertyValue" sf-item-type="properties.ProductType.PropertyValue" sf-multiselect="true" sf-sortable="true" sf-master="true" sf-selected-ids="properties.ProductIds.PropertyValue" />

  3. Hooman
    Hooman avatar
    19 posts
    Registered:
    24 Jun 2016
3 posts, 0 answered