Update GetLookupSourceItem Rules With New Tokens
Update "Get Lookup Source Item" rules with two new sections: A Site Facets section to handle #facets# token and Site Templates section to handle #page-templates# token.
/sitecore/system/Settings/Rules/Get Lookup Source Item/Rules/<Tenant Area> Fields Source
Site Selections
where the query contains #selections#
and where the item is the Tenant Templates (/sitecore/templates/<Tenant Area>) item or one of its descendants
or where the query contains #selections#
and where the item is the Tenant Branches (/sitecore/templates/Branches/<Tenant Area>) item or one of its descendants
or where the query contains #selections#
and where the item is the Tenant Website (/sitecore/content/*[@@templatename = 'Website Root']) item or one of its descendants
remove #selections#
and run query from Tenant Selections (/sitecore/content/*[@@templatename = 'Website Root']/<Tenant Area> Selections)
and run query from Shared Websites (/sitecore/content/*[@@templatename = 'Multisite Root']/*[@@templatename = 'Selections Folder'])
and abort the pipeline
Site Keywords
where the query contains #keywords#
and where the item is the Tenant Templates (/sitecore/templates/<Tenant Area>) item or one of its descendants
or where the query contains #keywords#
and where the item is the Tenant Branches (/sitecore/templates/Branches/<Tenant Area>) item or one of its descendants
or where the query contains #keywords#
and where the item is the Tenant Website (/sitecore/content/*[@@templatename = 'Website Root']) item or one of its descendants
remove #keywords#
and run query from Tenant Website (/sitecore/content/*[@@templatename = 'Website Root'])
and run query from Shared Websites (/sitecore/content/*[@@templatename = 'Multisite Root'])
and abort the pipeline
Site Settings
where the query contains #settings#
and where the item is the Tenant Templates (/sitecore/templates/<Tenant Area>) item or one of its descendants
or where the query contains #settings#
and where the item is the Tenant Branches (/sitecore/templates/Branches/<Tenant Area>) item or one of its descendants
or where the query contains #settings#
and where the item is the Tenant Website (/sitecore/content/*[@@templatename = 'Website Root']) item or one of its descendants
remove #settings#
and run query from Tenant Settings (/sitecore/content/*[@@templatename = 'Website Root']/<Tenant Area> Settings)
and abort the pipeline
Site Search Facets
where the query contains #facets#
and where the item is the Tenant Templates (/sitecore/templates/<Tenant Area>) item or one of its descendants
or where the query contains #facets#
and where the item is the Tenant Branches (/sitecore/templates/Branches/<Tenant Area>) item or one of its descendants
or where the query contains #facets#
and where the item is the Tenant Website (/sitecore/content/*[@@templatename = 'Website Root']) item or one of its descendants
remove #facets#
and run query from Tenant Website (/sitecore/content/*[@@templatename = 'Website Root'])
and run query from Shared Websites (/sitecore/content/*[@@templatename = 'Multisite Root'])
and abort the pipeline
Site Templates
where the query contains #page-templates#
and where the item is the Tenant Templates (/sitecore/templates/<Tenant Area>) item or one of its descendants
or where the query contains #page-templates#
and where the item is the Tenant Branches (/sitecore/templates/Branches/<Tenant Area>) item or one of its descendants
or where the query contains #page-templates#
and where the item is the Tenant Website (/sitecore/content/*[@@templatename = 'Website Root']) item or one of its descendants
replace #page-templates# with path to Tenant Pages Templates (/sitecore/templates/<Tenant Area>/Pages)