You need to sign in to do that
Don't have an account?
Encrypted Fields Breaking in Chatter Action (Web vs SF1)
Hello!
Has anybody run into an issue with using encrypted fields in VF pages in a Chatter action?
We've found that we can read encryped fields just fine in our VF page, but as soon as we put it in the Chatter action, we lose the ability to decrypt it in the code. Please take a look at the attached screenshots of a page we made just to prove the issue. Notice how the Chatter action in the classic web shows the encrypted value, while everywhere else it works correctly.



Here is the code for this page, in case there might be something we are doing wrong:
VF PAGE CODE:
Any help would be very appreciated!!!
Thanks,
Joseph
Has anybody run into an issue with using encrypted fields in VF pages in a Chatter action?
We've found that we can read encryped fields just fine in our VF page, but as soon as we put it in the Chatter action, we lose the ability to decrypt it in the code. Please take a look at the attached screenshots of a page we made just to prove the issue. Notice how the Chatter action in the classic web shows the encrypted value, while everywhere else it works correctly.
Here is the code for this page, in case there might be something we are doing wrong:
VF PAGE CODE:
<apex:page controller="TestABC"> <apex:outputText value="{!privateDestinationAuthToken }" /> </apex:page>APEX CONTROLLER CODE:
global with sharing class TestABC{ public static uStudioApi api { private get; private set; } @TestVisible public static String privateDestinationAuthToken { get; private set; } static{ api = uStudioApi.getAutoProvisionedInstance(); privateDestinationAuthToken = api.getChatterAuthToken(); } }
Any help would be very appreciated!!!
Thanks,
Joseph
Please review this help article and see if it addresses this issue:
https://help.salesforce.com/apex/HTViewSolution?urlname=Encrypted-fields-are-being-masked-in-a-VF-page-when-embedded-into-a-standard-layout-1327109986153&language=en_US
All Answers
Please review this help article and see if it addresses this issue:
https://help.salesforce.com/apex/HTViewSolution?urlname=Encrypted-fields-are-being-masked-in-a-VF-page-when-embedded-into-a-standard-layout-1327109986153&language=en_US