This project is read-only.

Updating content settings while changing dropdown list.

Topics: Customizing Orchard, Writing modules
Apr 26, 2013 at 3:40 PM
Edited Apr 26, 2013 at 3:56 PM
Let's say I've created custom part that allow to set one item from dropdown list while creating new content type. I've also created custom field that provides the similiar dropdown list in settings. My problem is that values from field settings are related to part settings. It is possible to update values from dropdown list in field settings, when user change selected item in content part settings? How can I wisely connect these fields? As for now these fields are sperately handled in ContentDefinitionEditorEventsBase sublass and proper TypePartEditor/PartFieldEditor/PartFieldEditorUpdate methods. These settings fields have seprates template views.
Apr 26, 2013 at 7:21 PM
The field should not depend on the part. If functionally it should, then it should be refactored to be part of the part instead.