Ignition module development: Creating 'advanced' settings dropdown in persistentRecord

Hello,

I am currently developing a module with persistent records for the gateway, and the settings page is getting pretty long. I love how Ignition can hide settings behind ‘Advanced Settings’ boolean, and was wondering how I could do this myself?

This seems to be accomplished in the RecordEditForm class looking at the methods:

Does anyone have an example of actual implementation?

If so I think we should make a PR on this SDK exmaple: Home Connect

If someone can provide an example or if I figure it out before then I can make the PR.

May also be good to add field validator examples.

Thanks,

Nick

Thanks to @zack.beranek for pointing this out.

How you get the advanced settings to show up is simply to set the advanced flag to true on the configuration entry, like this:

Here is what that looks like when installed:

Cheers,

Nick

3 Likes