Hi All,
Busy with a new module in 8.3.0 and have some configuration option to be configured in the Gateway page. Was wondering if properties can be made "VisibleWhen", or "EnableWhen" certain other properties have certain values. i.e only show certificate options when tls is enabled.
Thanks!
We’re trying to achieve something similar to the Maintenance Mode on the Ignition Core Historian settings in the gateway.
The Core Historian module is using its own custom react page for configuration.
Perfect, thank Kevin. So, we will not be able to achieve it?
Not if you're unwilling to create custom configuration pages, I think.
Any chance you could share an example of the custom configuration pages Kevin?
It's not exactly what you need, but there's at least some kind of web example in the examples repo right now: ignition-sdk-examples/webui-webpage at ignition-8.3 · inductiveautomation/ignition-sdk-examples · GitHub
Not sure there's anything more I can share.
Is your module providing an extension point of some kind and getting its configuration page for "free" right now?
Thanks Kevin - we’ll have a look.
Yes, we only have a Settings record that is used to build the Web UI for “free”:
ExtensionPointResourceForm form = new ExtensionPointResourceForm(
HistorianExtensionPoint.getResourceType(),
"Historian",
TYPE_ID,
SchemaUtil.fromType(com.inductiveautomation.historian.gateway.api.HistorianProvider.class),
SchemaUtil.fromType(Settings.class)
);
Yeah, big jump from that to a custom react page, especially if you aren't familiar with frontend build tooling and react.