IsExtendedSearchField not working on choice field in Dynamic

Posted by Community Admin on 04-Aug-2018 14:25

IsExtendedSearchField not working on choice field in Dynamic items Field Control Selector

All Replies

Posted by Community Admin on 29-Jun-2014 00:00

I have  dynamic filed selector control on which i have added datamemberinfo entry for a choice field of my dynamic module. Field is appearing fine.

Now what i am trying is change the search from Title field to this new Choice field but it is not filtering items.

My markup is given below with SpeakerCategory is a choice field.Please advice what to do?

<sf:FlatSelector ID="itemsSelector" runat="server" ItemType="Telerik.Sitefinity.GenericContent.Model.Content"
            DataKeyNames="Id" ShowSelectedFilter="false" AllowPaging="false" PageSize="10" AllowMultipleSelection="true"
            AllowSearching="true" ShowProvidersList="false" InclueAllProvidersOption="true"
            SearchBoxTitleText="Filter by Title" ShowHeader="true"
    ServiceUrl="~/Sitefinity/Services/DynamicModules/Data.svc/live/">
            <DataMembers>
                <sf:DataMemberInfo runat="server" Name="Title" HeaderText='Title'>
                    <strong>Title.Value</strong>
                </sf:DataMemberInfo>
                <sf:DataMemberInfo runat="server" Name="PublicationDate" HeaderText='Date'>
                    <span>PublicationDate ? PublicationDate.sitefinityLocaleFormat('dd MMM, yyyy') : ""</span>
                </sf:DataMemberInfo>   
                <sf:DataMemberInfo  runat="server" Name="SpeakerCategory" HeaderText='Speaker Category' IsExtendedSearchField="true">
                     SpeakerCategory.Text
                </sf:DataMemberInfo>
            </DataMembers>
        </sf:FlatSelector


Posted by Community Admin on 30-Jun-2014 00:00

I were able to work it via saving values same as text for choices. then I also have to updated the existing data of my items then it starts working

This thread is closed