Barry Fogarty
GetSetup
dotnet new umbraco
gregor.tusar
var config = umbracoHelper.ContentAtRoot().DescendantsOrSelfOfType(MySpecialConfiguration.ModelTypeAlias).FirstOrDefault() as MySpecialConfiguration;
FirstOrDefault()
kirin-808
mehdimiah_
Dan
Danine Noble
var rootProperty = notification.Content.Variants.FirstOrDefault()? .Tabs.SelectMany(f => f.Properties ?? []) .FirstOrDefault(f => f.Alias.InvariantEquals("region")); if (rootProperty?.Value is not BlockValue blockList) { return; } foreach (var block in blockList.ContentData.Where(block => block.ContentTypeKey == Constants.RCGuid)) { // using block.PropertyValues seems to affect nothing // this removes the selected value of the property... block.RawPropertyValues.Remove("reuseContent2"); }
TigerMan
SiempreSteve
Domitnator
A hub and casual space for you to interact with fellow community members and learn more about Umbraco!