November Happy Hour will be moved to Thursday December 5th.

DynamicProperty value to propagate from code

Vote:
 
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();
#13391
Mar 13, 2008 12:20
Vote:
 
The code was working! The "error" was else where in project. /Janne
#19101
Mar 14, 2008 17:53
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.