Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .claude/skills/build-plugin/references/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,18 @@ A **data stream** has its own `ui` array — the **tile-editor parameters** show
}
```

**`ignoreCertificateErrors`** — add to any plugin that may connect to on-prem instances with self-signed certificates:
**`ignoreCertificateErrors`** — don't add this. The platform adds an "Ignore certificate errors" toggle to every plugin built on WebAPI, and passes the value to the WebAPI base plugin, so you don't need a ui.json field or a `base.config` mapping.
Comment thread
clarkd marked this conversation as resolved.

Declaring a field named `ignoreCertificateErrors`, or setting the key in `base.config`, stops the platform adding its toggle. This only hides the option on the form: a value the user supplies (for example through the API) still overrides `base.config`. So only do it for an API where offering the option makes no sense:

```json
{
"type": "checkbox",
"name": "ignoreCertificateErrors",
"label": "Ignore certificate errors",
"help": "Enable when connecting to an instance with a self-signed certificate."
"base": {
"plugin": "WebAPI",
"majorVersion": "1",
"config": {
"baseUrl": "https://api.example.com",
"ignoreCertificateErrors": false
}
}
```

Expand Down
Loading