Does not enable checkbox when using
Hi,
i have a python script which creates workspace, datastore and a layer in a dockerized geoserver when the container is up’ed with docker compose.
The problem is, i want to enable this checkbox and have following RestAPI Command. It creates the datastore but does not check the box.
datastore_data = f"""
<dataStore>
<name>{datastore_name}</name>
<connectionParameters>
<host>database</host>
<port>5432</port>
<database>xxx}</database>
<schema>yyy</schema>
<user>zzz</user>
<passwd>123</passwd>
<dbtype>postgis</dbtype>
<exposePrimaryKeys>true</exposePrimaryKeys>
</connectionParameters>
</dataStore>
"""
Somebody has an idea, why its not working. The Documentation is not very good and i cant find answers online.
Cheers
New contributor
user27363897 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.