How use filter in parameter table for device page?

hi.
I am getting table of all wifi parameters in table.
but i want to filter it only for Enable = true to show in table.
.

  • label: “‘WLAN Advance’”
    parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration
    type: “‘parameter-table’”
    childParameters:
    • filter: Enable = “true”
    • label: “‘Name’”
      parameter: SSID
    • label: “‘Password’”
      parameter: PreSharedKey.1.KeyPassphrase
    • label: “‘Password1’”
      parameter: KeyPassphrase
    • label: “‘Channel’”
      parameter: Channel
    • label: “‘Type’”
      parameter: Standard
    • label: “‘Enabled’”
      parameter: Enable
    • label: “‘visible’”
      parameter: SSIDAdvertisementEnabled
    • label: “‘Hosts’”
      parameter: TotalAssociations

but this not filtering only Enable=true, showing all.

true and “true” are not the same. Use the keyword. Move your filter up higher.

You will need to restructure your code a bit though, only a container can have a filter. The rest of that is left as an exercise for you to sort out.

- label: "'WLAN Advance'"
  parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration
  type: "'parameter-table'"
  filter: Enable = true
  ...
1 Like

worked perfectly.
thank you