Hi
I want to set a value to a dynamic property from the savepage event. This works fine for the current page. But I want the value to propagate down the tree. (Like using the checkbox in editmode). The property Override does not seem to be the right way (really don’t understand the SDK explanation...).
Has anyone a solution?
My half way working code:
DynamicProperty prop = DynamicProperty.Load(e.PageLink, "Test");
prop.PropertyValue.Value = "testvalue";
prop.Override = true;
prop.Save();
DynamicProperty prop = DynamicProperty.Load(e.PageLink, "Test"); prop.PropertyValue.Value = "testvalue"; prop.Override = true; prop.Save();