Bonjour Emmanuel,
Web Page use PHP Smarty, can look this for make what do you need (but not sure if it is possible)
you can also set multiple page...
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
------------------------------
Original Message:
Sent: Dec 06, 2020 05:10 AM
From: BILLOT Emmanuel
Subject: Calculating attributes values
Hi,
We wander if it is possible to fit or calculate legacy or custom attribute value using a simple programming way.
For example, on captive portal context, ClearPass "receive" a value for AP Group Name. Using this value we want to do something like :
if (Aruba-AP-Group == "group1") { $title = "Groupe 1 request" ; $sponsor_name = "groupe1_sponsor" ; $sponsor_address = "recpgroup1@domain.com" }
if (Aruba-AP-Group == "group2") { $title = "Groupe 2 request" ; $sponsor_name = "groupe2_sponsor" ; $sponsor_address = "recpgroup2@domain.com" }
If possible, what language may we use and where could we program it ? Calculated attributes may be used in forms or pages for guest self registration and create user pages.
Regards,
------------------------------
BILLOT Emmanuel
------------------------------