当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - Sitecore Multilist Datasource to new created item

问题描述:

I've got a problem in Sitecore.

I've created a template with a Multilist field. What I want to do is, if I create a new item from this template the datasource of the Multilist field is set to the new created item.

I already tried something like that.

datasource=$id

Is there any way to solve this?

网友答案:

You should use Sitecore query in the source field of your multilist.

Something like this should do the trick:

query:./*
分享给朋友:
您可能感兴趣的文章:
随机阅读: