# dialog\_config\_new

Source: https://zotonic.com/docs/1726/dialog_config_new

URI: https://zotonic.com/id/1726

Language: en



Open a dialog to create a new configuration key/value pair.

The optional repeatable `on_success` argument runs actions after creation. The dialog asks for a module, key, and value, normalizes the module and key to valid names, and rejects duplicates. Only editable administrators may create entries.

```django
{% button text="Add setting" action={dialog_config_new on_success={reload}} %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1726?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1726?language=en>)
