Multilist with Search Field in Experience Editor

Posted by Xing Liu on 11/8/2016

In one of our Sitecore implementations using Sitecore version 8.1 Update-3, we have created a multilist with search field for one of my data templates and it worked fine in the Content Editor.  However, when the field is used in the Experience Editor's Field Editor dialog, the multilist with search field does not function as it should (i.e. no items are available to select and search does not return any results).

After contacting the Sitecore support, this issue was registered as a bug in the current version of 8.1.  I want to share the workaround for the issue below. (Thanks Sitecore support for the great help.  My Sitecore support ticket was responded quickly.) 

Try to modify the file \sitecore\shell\Controls\BucketList\BucketList.js

Sitecore.InitBucketList = function (id, clientId, pageNumber, searchHandlerUrl, filter, databaseUrlParameter, typeToSearchString, of, enableSetStartLocation) {
    . . . .
    /*self.contentLanguage = $('scLanguage').value;*/
    self.contentLanguage = $('ContentEditorForm').lang;
    . . .

Commented out the original and with the next line as the workaround.  I want to share this workaround in case you are working on the Sitecore 8.1 update-3 for your project.  Hope this helps. 


Looking for a partner who will exceed your expectations? Get in touch.

SYMSOFT SOLUTIONS 4090 Truxel Road, Suite 200 Sacramento, CA 95834
United States (916) 567-1740