Dynamic property from code

Vote:
 

Hi,

I can set a dynamic property value like this:

DynamicProperty myDynProp = DynamicProperty.Load(page.PageLink, propName);
myDynProp.LanguageBranch = page.LanguageBranch;
myDynProp.PropertyValue.Value = value;
myDynProp.Save();


But I also want to simulate that the checkbox, to make all childpages inherit the value, was selected. Is this possible to do? 

#87103
Jun 10, 2014 9:09
Vote:
 

Use the Override property on the DynamicProperty instance.

#87388
Jun 12, 2014 9:33
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.