Activity Forums Salesforce® Discussions If i want to display the Encrypted field on Visualforce and i am using component apex:outputText. Will it work for Encrypted fields in Salesforce?

  • Manpreet

    Member
    May 4, 2017 at 1:27 pm

    Hi saurabh,

    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.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos