craig100
05/10/2022, 1:36 PMModel.Root().Siblings().FirstOrDefault(x => x.ContentType.Alias == "myDocTypeAlias")
(the Root() turns red) and Umbraco.Web.Composing.Current.UmbracoHelper.ContentAtRoot().FirstOrDefault(x => x.ContentType.Alias == "myDocTypeAlias")
(the Web turns red). Is there a "using" I'm missing maybe? Model in this instance is a surface ViewModel.
Panic over: Umbraco.ContentAtRoot().FirstOrDefault(x => x.ContentType.Alias == "myDocTypeAlias")
!