Converting Accented Characters to Regular Characters in PX

book

Article ID: 103850

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction



How can accents be stripped and special chars while generating the username via bulk load task?

Environment

Release: CAIDMB99000-14.0-Identity Manager-B to B
Component:

Resolution

This can be done in Two ways: either through a BLTH or a Policy Xpress Policy:

BLTH:
Write a BLTH java class to replace accented characters. Invoke a BLTH on handleValidationBeforeSubmission or handleValidation. It allows the user to do the replacement before task is submitted as well as access the replaced string in PX.

Sample BLTH java class can be found in the IM tools folder. 

Policy Xpress Policy:

Use the following functionality:
Open Policy Xpress Policy, under Data -> Category: General -> Type:String Parser -> Function: Replace All

For example, suppose Original String is: Alãnã

In the Sub-String to be Replaced field, enter ã

In the Replace with field, enter a

Click Replace

The new value should output as "Alana"

This can be done for various other accents as desired.