Security

 View Only

Selectively enabling airgroups in clearpass guest

This thread has been viewed 1 times
  • 1.  Selectively enabling airgroups in clearpass guest

    Posted Jan 31, 2019 11:03 AM

    I’m in the process of setting up ClearPass guest to cope with both airgroup and non airgroup devices. Thought I’d got it sorted but it seems not quite

     

    In Guest/Configuration/Pages/Forms I’ve created a copy of mac_create

    In this form I’ve got

    airgroup_device_type

    airgroup_enable

    airgroup_shared

    airgropu_shared_user

     

    all enabled

     

    Aitrgroup_device_type is a dropdown list the user uses to select a device type to register

     

    Currently set to be

     

    0 | -----Select a WiFi Device -----

    20 | Amazon Echo/Dot

    21 | Amazon Fire TV/Stick

    98 | Airgroup - Casting Device

    1 | Game Console - WiFi Xbox

    2 | Game Console - WiFi Playstation

    3 | Game Console - WiFi Nintendo

    4 | Roku - WiFi Device

    99 | -----Select a Wired Device -----

    100 | Game Console - Wired Xbox

    101 | Game Console - Wired Playstation

    102 | Game Console - Wired Nintendo

    103 | Smart TV - Wired

     

     

    airgroup_enable is a checkbox which must be supplied with an initial value of 0

     

    In the advanced properties section I’ve set  "Enable If" to be

     

    (airgroup_device_type.value >=  20) && (airgroup_device_type.value <= 98)

     

    So if for example  I select amazon device airgroup_enable should be enabled

    Similarly, "Visible If" is set to

     

    (airgroup_device_type.value >=  20) && (airgroup_device_type.value <= 98)

     

    So if I select one of an appropriate airgroup_device_types I should see the airgroup_enable checkbox

     

     

    airgroup_shared is a hidden field with an initial value of 0 i.e we're only considering personal airgroup devices

     

    "Enable If" is

     

    Nwa_GetInputValue(airgroup_enable) == 1) && ((airgroup_device_type.value >=  20) && (airgroup_device_type.value <= 98))

     

    And visible if is

     

    Nwa_GetInputValue(airgroup_enable) == 1) && ((airgroup_device_type.value >=  20) && (airgroup_device_type.value <= 98))

     

    Except I don’t get the conditional display of airgroup_enable appearing and thefor none of the other fields

     

    Images attached. What am I doing wrong ?