Sometime we get a requirement to display only last four characters of
phone numbers or social security number or credit card number or debit card number and all other characters should be
masked.
For example:
Phone Number: (780) 977-8665
Phone Number to be displayed: (XXX) XXX-8665
Configuration:
Login to Siebel Tools, navigate to Business Components in OBE and query
for the business Component where we need to make changes.
Create a new calculated field in the business component as mentioned
below:
Name
|
Calculated
|
Calculated Value
|
Work Phone Display
|
Y
|
|
Add two user properties to the newly created calculated field as
described:
Name
|
Value
|
Display Mask Char
|
X
|
Encrypt Source Field
|
Work Phone # (Field that needs to be masked)
|
Expose the newly created field at the UI
and compile the modified objects.