1.

You Want To Display The Encrypted Field On Visualforce And You Are Using Component Apex:outputtext. Will It Work For Encrypted Fields?

Answer»

Encrypted custom fields that are embedded in the <APEX:outputText> component display in clear text. The <apex:outputText> component doesn’t RESPECT the View Encrypted Data permission for users. To prevent showing sensitive information to UNAUTHORIZED users, USE the <apex:outputField> tag instead.

Encrypted custom fields that are embedded in the <apex:outputText> component display in clear text. The <apex:outputText> component doesn’t respect the View Encrypted Data permission for users. To prevent showing sensitive information to unauthorized users, use the <apex:outputField> tag instead.



Discussion

No Comment Found