November Happy Hour will be moved to Thursday December 5th.
Using CMS 7 (7.0.586.16) I can't figure out how what I'm doing wrong since the value in the PropertyString isn't persisted in the dynamic content settings.
[DynamicContentPlugIn(DisplayName = "Test")] public class PriceDynamicContentPlugin : IDynamicContentView { public PriceDynamicContentPlugin() { Properties = new PropertyDataCollection { new PropertyString() }; } public string State { get; set; } public PropertyDataCollection Properties { get; private set; } public void Render(TextWriter writer) { writer.Write(State); } }
I would try to name the property to another name then State, might be that word is reserved in some way.
The property State is from the interface IDynamicContentView
I see, haven't worked with DC in EPi7, so just made an assumption. :/
Using CMS 7 (7.0.586.16) I can't figure out how what I'm doing wrong since the value in the PropertyString isn't persisted in the dynamic content settings.