Ayman Barhoum
Ayman Barhoum

Reputation: 1255

Link and tree field to current site context

In multiple sites, is it possible to make the link and tree field to map to current website context in Sitecore ?

Upvotes: 0

Views: 413

Answers (1)

Vlad Iobagiu
Vlad Iobagiu

Reputation: 4118

In your case you need to use relative source for your fields. For the tree list you can use:

datasource=query:./ancestor-or-self::*[@@templatename='Site']/*

Upvotes: 3

Related Questions