I am trying to create a custome property editor. The editor is nothing more than a dropdown list, and that list comes from a table in a database. I am using the predefined “dropdown” property editor. I just don’t know how to link the prevalues to a database. The connection string is already in the web.config, if that matters. I also created a prevalue source in Forms, but I don’t know how to reference that either, if that’s even possible.
So again, all I am trying to do is the get prevalues set from a database. By chance, does “prevalue” have settings like “Connection String”, “Table”, “Key Field”, “Value Field”?
{
propertyEditors: [
{
"alias": "ItemList",
"name": "Item List",
"editor": {
"view": "dropdown"
},
"prevalues": {
"fields": []
}
}
]
}
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/108927-custom-property-editor-prevalue-source