You need to sign in to do that
Don't have an account?
Encrypted field issue in VF page used in SObject page layout
Hi,
The scenario is;
I've created an Object which stored few required values in Encrypted text (XXX) format, (e.g... userid and access token.) I've used that object values in VF page. When I execute VF page separately, it works perfectly. But when I add same VF page in Contact page layout it does throw an exception as it is unable to convert XXX into integer (user ID).
<apex:page standardController="Contact" extensions="GetContactFeed" sidebar="false">
Exception:
00:03:26.042 (42856000)|EXCEPTION_THROWN|[26]|System.TypeException: Invalid integer: XXX
Why this is so?
Is there a way to decrypt encrypted text field using apex?
I appreciate your valuable response!!