How to overwrite dynamic properties

Vote:
 

How to over-write dynamic properties in the master page so that it can be accessed everywhere in a website? I want to set a value of a dynamic property, but not been able to to that. Please help me out. Thanks in advance.

#63147
Nov 12, 2012 9:25
Vote:
 

If you wan't to set it programmatically you cold do something like this:

DynamicProperty primary = DynamicProperty.Load(pageId,"PropertyName");

primary.PropertyValue.Value = "yourvalue";

primary.Save();

#63157
Nov 12, 2012 11:48
Vote:
 

Hi,

    Thanks for the reply. I am using CMS R2 SP1 and Enoteca as sample site. I want to change the Enoteca site logo i.e. I want to set a different image path in dynamic property named "LogoUrl" so that it can be shown in all the pages. Can you tell me where the values are initially set? is there any alternate way to change it from CmsCommerceManager?

#63295
Nov 14, 2012 15:17
Vote:
 

I haven't worked with commerce but if you log in to edit mode and have "Admin" user rights you should be able to change the dynamic properties with via the dynamic property page that you can access via a tool button in the upper left corner.  Click on the start page before going in and changing the dynamic properties.

#63340
Nov 15, 2012 11:01
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.