Hello,
We are trying to configure a DropDown list editor for a given layer+attribute couple and we haven't managed to do it up to now.
The configuration done in our map context for the FeatureEditor plugin looks like this:
{
"cfg": {
"editingAllowedRoles": [
"ADMIN",
"USER"
],
"customEditorsOptions": {
"rules": [
{
"regex": {
"attribute": "^avancement$",
"typeName": "^smart_energies:couche_collaborative_polygones$"
},
"editor": "DropDownEditor",
"editorProps": {
"values": [
"Construction",
"Exploitation",
"Développement",
"Autre"
]
}
}
]
}
},
"override": {}
}
and in our geoserver instance we have a feature layer
| smart_energies:couche_collaborative_polygones with a field avancement.
When we create a map with this map context and we try to edit the layer, we never have our DropDownEditor. We have the default behavior.
What should we change to have it working? We use the last version of MapStore and the last version of GeoServer.
|
-- Alexandre Gacon