I used droptree field to allow the content author to select news items, and the content author has a specific language for example (en), but I can not filters news by languages. is there any way to return English news (English version) only for English content authors?

enter image description here

2 Answers 2


You need to create Language Based Roles in Role Manager and per item, you need to set the Language Read and Language Write for the particular Role. Follow this link: Language Based Roles


One option to do this could be as described here by Ben Golden / Szymon Kuzniak:


How to filter items by language in Treelist field


  • Create a DataView which will filter out items based on language, override the method to get the correct items and add config to use this.
  • Create a Custom TreeList control which inherits from TreeList and uses the new DataView and register the new control in Sitecore

You would need to update your droptree field to then use this custom Treelist and perhaps add a validator so content editors can only select one item at a time though either using this approach:

http://www.benramey.com/2012/06/12/limit-selected-items-on-sitecore-multilist-field/ (The regex will likely be this though: ^({[^}]+}|?){0,1}$)

or a custom validator similar to these:



  • my requirement allows authors to select only one item, therefore I can not use Treelist , is there any way to do the work on droptree or genreal link Commented Oct 23, 2019 at 10:27
  • @RaedAbuGarbeiah you can still use a Treelist, just add an validator to ensure only one item is selected like so: benramey.com/2012/06/12/…. The regex will likely be this though: ^({[^}]+}|?){0,1}$. Commented Oct 23, 2019 at 10:32
  • you mean that no way to create single selected like droptree , and should use Treelist Commented Oct 23, 2019 at 10:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.