AAA, NAC, Guest Access & BYOD

 View Only
last person joined: one year ago 

Solutions for legacy and existing products and solutions, including Clearpass, CPPM, OnBoard, OnGuard, Guest, QuickConnect, AirGroup, and Introspect

Conditionally hide the MPSK field for account roles other than wireless IOT devices 

Jun 08, 2020 12:48 PM

Requirement:

  • A way to conditionally hide the MPSK field for account roles other than "wireless IOT devices"

  • Wireless IOT devices role is just an user referenced account role for this scenario and user could create his own account role based on his setup.

  • Customer might use the same  device registration form to register wired devices in the dorms as well as for wireless IOT devices (for example: rokus and amazon alexas).

  • When a wireless device is registered on the IOT network, a field appears on the form providing the user with get their unique MPSK. However, when a different account role is selected (say to register a wired device), the MPSK field still appears  which will lead to confusion on the part of the users. Is there a way to conditionally hide the MPSK field for account roles other than  "wireless IOT devices"?

  • Overall goal is to hide the MPSK filed for wired devices(roles such as guest,contractor, employee)  upon role selection and same MPSK field will be visible for IOT devices when they select account role  as"Wireless IOT devices".



Solution:
  • Using Visible if option under advance properties within the MPSK_enable password field, we could make sure selecting IOT would only display the MPSK field and other roles selection wouldn’t.


Configuration:

Navigate to guest >>configuration>>Pages>>In the Forms>>mac_create_2 page>>edit fields

 

 

In the Forms >>mac_create_2 page>>edit fields>>“mpsk_enable “field>>edit

 

  • User interface : “check box”

 

In advance properties, within the same mpsk_enable field navigate to visible_if option and set value as below. "3015" is the role id value for "wireless IOT devices"

 

  • Visible_if : <role_id.value>=="3015">

 

 

In the forms >> mac_create_receipt >> edit fields >> enable role_id field.
In the forms>> mac_create_receipt >> edit fields >>mpsk_enable >> edit >> set user interface=’Hidden’
In the forms >> mac_create_receipt >> edit field >> mpsk >> edit 

In advance properties, within the same mpsk field navigate to visible_if option and set value as below.

Visible_if : <role_id.value>=="3015">

 

The mac_create_receipt page field configuration will look like this.

 



Verification

 

  • Upon selecting IOT role, the wifi-password check box will be visible.
  • Selecting apart from IOT role i.e. guest, contractor, and employee will hide wifi password field because of above configuration.

 

And same goes with receipt page.

 

IOT:

 

Contractor:

Statistics
0 Favorited
4 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.