An Sitecore Multilist field with an External Datasource
This week I needed to create an Multilist which required a DataSource that doesn’t reside in Sitecore. I’ve done this a few times before but using an DataSource for a Multilist from outside of Sitecore isn’t something I have needed to do often. There aren’t many articles on how to do this, so I thought I’d write up how to do this using Sitecore 9 (it should work with Sitecore 8 and below too). I’ve based the implementation on the code from this post by Benjamin Vangansewinkel: http://sitecoreblog.blogspot.co.uk/2012/04/how-to-create-custom-multilist-field.html. So Kudos to Benjamin for writing this back in 2012. The are alternatives to this approach such as using creating a custom token or a custom data provider but I feel a custom Multilist is simpler and easier to manage. Benjamin’s post is really useful, but some of the code is missing and I needed to show a count of the items available and selected in my … Continue reading An Sitecore Multilist field with an External Datasource