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".
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
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"
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.
And same goes with receipt page.
IOT:
Contractor:
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.