Activity Forums Salesforce® Discussions How to display Encrypted Field on Salesforce Visualforce?

  • shradha jain

    Member
    August 28, 2018 at 7:11 am

    Hello Madhulika,

    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.

  • Parul

    Member
    September 12, 2018 at 4:44 am

    Hi

    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.

  • shariq

    Member
    September 15, 2018 at 11:36 am

    Hi,

    "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. "

    Now You need to Render the Encrypted by using <apex:outputText>  and  <apex:outputField> based on the permission.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos