treelist

How to link a droplink to a Treelist in Sitecore

吃可爱长大的小学妹 提交于 2019-12-01 11:16:47
I'm trying to figure out how I can link a Droplink to the selected items in a Treelist . I have a field Theme , which is the Treelist , and a field MasterTheme , which is the Droplink . I should be able to select a master-theme in the Droplink , which is filled with the selected data from the Treelist . I'm pretty new to Sitecore, and I'm not familiar with Custom classes. Kevin Brechbühl You can use the getLookupSourceItems -pipeline for this. With a Droplink you can specify a Sitecore query as source. And with the getLookupSourceItems you can change the source at runtime. The following

How to link a droplink to a Treelist in Sitecore

我的未来我决定 提交于 2019-12-01 09:59:15
问题 I'm trying to figure out how I can link a Droplink to the selected items in a Treelist . I have a field Theme , which is the Treelist , and a field MasterTheme , which is the Droplink . I should be able to select a master-theme in the Droplink , which is filled with the selected data from the Treelist . I'm pretty new to Sitecore, and I'm not familiar with Custom classes. 回答1: You can use the getLookupSourceItems -pipeline for this. With a Droplink you can specify a Sitecore query as source.