Hi!
I'm new to Adaxes and this is my first post.
I need som assistance on writing an entered phone number on one hand for the human eye in the telephone attribute but on the other hand transform it to an acceptable format for Skype for Business.
Situation: HR department begins to create a new user and enters a telephone number in a human readable format.
This string format is governed by a regular expression which permits a plus sign, digits and also spaces.
Ex. "+1 23 456 789". This is written to the AD user object along other inputs and we could go ahead and save this and a working user is created. Btw, this value is also used for email signatures...
However, besides creating an ordinary AD account I want to enable Skype for Business and by the example from Adaxes I use the value reference %telephonenumber% to write the "Line URI:" attribute for the SFB user. The value reference %telephonenumber% contains spaces which is not acceptable value in Line URI.
So how do I transform this from a single entered value to something without spaces for SFB but keep the format including spaces, for the AD User object pleasing for the eye?
Thanks,
Micael