Note to Self.
Today I having the requirement of removing leading zeros from attribute employeeID.
Special situation is that employeeIDs can be range from 1 to 5 chars, like:
00002, 00013, 00204 and so on.
Looking at the possible function on sync rules first thought was that this would not be possible, but sometimes things can be easier than they look alike.
Simple replacing the 0 (zero) by spaces, then perform an LTrim and after that replacing the spaces back to 0 (zero) works very well.
So the portal sync rules custom expression goes like this:
ReplaceString(LTrim(ReplaceString(employeeID,"0"," "))," ","0")
Today at one of my customers we had trouble with FIM-Portal functionality after installing the latest update for Internet Explorer 11 (KB3008923) from December 9. 2014.
Since Windows 8.1 is still not supported by FIM it was working like charm until today.
After that update it was not possible to add member to a group for example. If you choose one or more people from the dialog and click OK, the member selection was not filled into the underlying (calling) dialog. You are still able to type the member name and click the verify button or pressing CTRL+k.
So this must be some kind of IE issue with interaction between windows dialogs.
Some investigation on the KB article leads me directly to the solution.
There is a hotfix to get rid of that issue, and it worked like charm.
So if you run into the same problem have a look at the following KB article:
Here is the description of the hotfix:
You install MS14-080: Cumulative security update for Internet Explorer: December 9, 2014 on a computer that’s running Internet Explorer 11 or the Internet Explorer 11 Web Browser control. However, after you do this, you may experience unexpected behavior when you interact with sites that use one or more web application modal dialog boxes. Any data or information that’s provided in the modal dialog box may not be returned to the application window or to the dialog box that created the data or information. Therefore, the application that created the dialog box may exhibit errors or lack specific functionality that was dependent on that dialog box data.