Sian Evans
TackleMcClean 🏅
IUmbracoBuilder
var section = builder.Config.GetSection("PrepopulateUsers")
IConfigurationSection
Owain Jones
Kaspar Boel Kjeldsen
ahwm
p.GetValue("mainContent")
content.GetValue("content").ToString()
Danci
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
skttl
context.Database.Migrate();
Dan
A hub and casual space for you to interact with fellow community members and learn more about Umbraco!