Mueui
Mueui

Reputation: 181

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?

Upvotes: 2

Views: 713

Answers (1)

Marek Musielak
Marek Musielak

Reputation: 27132

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

Something like this should do the trick:

query:./*

Upvotes: 3

Related Questions