New answers tagged

0

You can create your custom partial class for this template like the following: public partial class ParametersTemplatePanel { [SitecoreField(IParametersTemplate_PanelConstants.BackGroundColorFieldName)] public virtual Color BackgroundColor { get; set; } [SitecoreField(IParametersTemplate_PanelConstants.HasBackgroundColorFieldName)] public ...


2

There is no need to get the item through the Guid. There is a Custom Data property on the field (in this case BackGroundColor) in Visual Studio, you can set this to the type of color and the code gen process would generate the property as this Color class instead of a Guid, so you will put something like this: type=<optional namespace or global namespace&...


2

Me too faced the same problem and finally have a workaround. What breaks if you remove the mentioned event ? As you high lighted by removing/unbind the click event "div#accordion.panel-group.scEnabledChrome" Collapsing is working as expected but what is the impact? So far my observation, the event responsibility is to show the Rendering detail ...


Top 50 recent answers are included