无法获得当前项目

时间:2017-09-05 07:09:29

标签: sitecore

从Sitecore树我有一个页面项(比如A),其中一个渲染使用数据源(比如" Aa")。和项目" Aa"还有一个表示,渲染指向一个wffm形式。

Structure is like: Content ->A (has one rendering item on presentation having data source is pointing to 'Aa') ->Aa (has one rendering item on presentation having data source is pointing to wffm)

现在尝试调试" A"项目并检查Sitecore.Context.Item然后获取当前项目为" Aa"而不是" A"。

任何人都可以帮助将当前项目作为A,同时调试A项目

0 个答案:

没有答案
相关问题