If the style is in a workspace you need to specify the workspace name. This
should work:
{'layer': {'enabled': True, 'defaultStyle': {"name': 'asd', 'workspace':
'test'}}}or in XML: '<layer><defaultStyle><name>asd</name><workspace>test</workspace></defaultStyle><enabled>true</enabled></layer>' -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Setting-a-workspace-style-as-layer-default-via-rest-tp5057810p5058859.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
