Custom DataType, Using a DataTypeSetting Dropdown value with another DataTypeSetting...
Hi Umbraco-genies,
Here's my problem/challenge: I've a custom DataType using a usercontrol. It has 1 DataTypeSetting which is a DropDown of DocumentTypes.
Now, after I choose a DocumentType value from this dropdown list (and click save maybe), I want to populate another DataTypeSetting dropdown list of all the Properties associated with the selected DocumentType.
*And then of course store both selected values to that DataType.
I don't think it's really possible out of the box, but you could create your own DataEditorSetting with both controls on it (the Doctype & Property dropdowns).
Also for a similar route and some inspiration see this thread, he created a custom DataEditorSetting that reads values from another DataEditorSetting:
Custom DataType, Using a DataTypeSetting Dropdown value with another DataTypeSetting...
Hi Umbraco-genies,
Here's my problem/challenge:
I've a custom DataType using a usercontrol. It has 1 DataTypeSetting which is a DropDown of DocumentTypes.
Now, after I choose a DocumentType value from this dropdown list (and click save maybe), I want to populate another DataTypeSetting dropdown list of all the Properties associated with the selected DocumentType.
*And then of course store both selected values to that DataType.
Any ideas / direction / solutions?
*Please note I can't edit or delete this post.
What I meant was: DataEditorSetting and NOT DataTypeSetting!!
I don't think it's really possible out of the box, but you could create your own DataEditorSetting with both controls on it (the Doctype & Property dropdowns).
Also for a similar route and some inspiration see this thread, he created a custom DataEditorSetting that reads values from another DataEditorSetting:
http://our.umbraco.org/forum/using/ui-questions/17046-Dynamic-prevalues-in-the-new-DataEditorSettings-in-461
Hope this helps,
Tom
Thanks for your direction Tom, I'll work on this for a bit and post my findings.
is working on a reply...