SaaS CMS has officially launched! Learn more now.

Dynamic property from code



I can set a dynamic property value like this:

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

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

Jun 10, 2014 9:09

Use the Override property on the DynamicProperty instance.

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.
* 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.