Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Lets say I want to build a custom property that returns an IEnumerable. Like the PropertyStringList in Alloy MVC template project but IEnumerable instead of string[]. I have laborated a bit but I have problems. The Value property returns null or an object of type string[] and the PropertyValueType returns typeof(IEnumerable).
First, I try this without a custom dojo-editor, I use the dojo-editor for PropertyLongString. I declare an EditorDescriptor for that. If I dont register an EnumerableStringJsonConverter I get an error on autosave saying something like "Could not convert from IEnumerable to string". If I declare an EnumerableStringJsonConverter the autosave works but after that I can not enter the forms-mode (clicking All Properties). When clicking "All Properties" it starts roling, I never enter the forms-mode, it hangs. There are no errors in the log4net logs and no info helping even when I enable info and debug. I get no errors in the Chrome console.
It is hard to find the problem when there are no exception logged at all.
I hope someone can help!
Regards Hans