TigerMan
Kaspar Boel Kjeldsen
Carlos Casalicchio
public TimeSpan Period => TimeSpan.FromDays(7); public TimeSpan Delay => TimeSpan.FromHours(24);
Sian Evans
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"); }
attila_08563
Owain Jones
rstei
A hub and casual space for you to interact with fellow community members and learn more about Umbraco!