November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
var resolver = ServiceLocator.Current.GetInstance<SiteDefinitionResolver>();
var site = resolver.GetDefinitionForContent(page.ContentLink);
var siteId = site.Id;
var siteUrl = site.SiteUrl;
Hi!
Previously one could get siteId and siteUrl for a specific PageData instance in a multisite enterprise environment with following code:
But well, guess that's now out of the question. Is there a clean way to get SiteDefinitions for a specific PageData instance?