Skip to main content

Preserve sObject Field Encryption in Visualforce Expressions - Winter15


For Visualforce pages set to API version 32.0 or later, expressions that reference encrypted sObject fields return the encrypted values instead of the decrypted (plain) values. This behavior more closely matches your expectations and reduces the risk of inadvertent exposure of sensitive data due to programmer error.

An expression might be used with a Visualforce component that displays it, such as <apex:outputText> or <apex:column>, or as a “raw” expression on the page, for example, {! myObject__c.encryptedField__c }. In these scenarios, the encrypted value, rather than the decrypted value, of the field is displayed.

This behavior parallels the documented behavior of <apex:inputField> and <apex:outputField>, which display encrypted values for encrypted fields.

Comments

  1. If you're trying to lose weight then you certainly have to get on this brand new tailor-made keto meal plan.

    To produce this service, licensed nutritionists, fitness couches, and professional cooks have united to develop keto meal plans that are effective, convenient, cost-efficient, and enjoyable.

    From their launch in early 2019, hundreds of people have already completely transformed their body and well-being with the benefits a proper keto meal plan can offer.

    Speaking of benefits: clicking this link, you'll discover eight scientifically-confirmed ones given by the keto meal plan.

    ReplyDelete
  2. If you're looking to lose fat then you have to try this brand new personalized keto meal plan.

    To design this service, certified nutritionists, fitness trainers, and cooks have joined together to develop keto meal plans that are efficient, convenient, money-efficient, and delicious.

    From their launch in 2019, 100's of individuals have already remodeled their figure and well-being with the benefits a proper keto meal plan can offer.

    Speaking of benefits: clicking this link, you'll discover 8 scientifically-proven ones given by the keto meal plan.

    ReplyDelete

Post a Comment

Popular posts from this blog

Mashup Integration in Salesforce

During preparation for TA certification exam, I came across a word Mashup for integration a number of times. I explored about it and below is description:- Mashups, sometimes called “composites,” are hybrid applications created by bringing together several data sources and Web services to create a new application or to add value to an existing application. Behind the scenes, mashups may require different levels of integration, depending on whether the mashed-up data is only meant to be viewed, whether it can be edited, and whether data is actually transferred between systems. There are three types of mashup:- Client Presentation Mashup - In this type of mashup the integration takes place strictly at the visual level. It makes possible to view data from two or more applications in a browser,  without actually moving data between the applications. Example - Google Maps. Client Service Mashup - As mashups evolve, they are becoming more complex and sophisticated. Client ser

Grant Access Using Hierarchies

Problem There is a custom object say 'XYZ' and OWD for this is set to ' Private ', which means record of this can be seen by only owner and users above in role-hierarchy and territory. However, to share this with other user, we can manually share it. The problem is that I don't want other users, who are above in role-hierarchy and territory of the user with whom record has shared, can see it. Solution We can un-check ' Grant Access Using Hierarchies ' check box for object 'XYZ' on 'Sharing Settings' page. We can go to Setup >> Security Controls >> Sharing Settings and click on ' Edit ' button. On the edit page, we can un-check ' Grant Access Using Hierarchies ' for required object.  Major uses of 'Grant Access Using Hierarchies' are:- If you disable the Grant Access Using Hierarchies option, sharing with a role or territory and subordinates only shares with the users directly asso

ReadOnly Annotation

Use Case:- You want to show up to 10000 record on single VF page. Count of records based upon some business requirement where number of records could go up to 1 million. So far, it was not possible to achieve above in VF page because of following limitations:- The maximum number of items in a collection that can be iterated over using components such as <apex:dataTable> , <apex:dataList> , and <apex:repeat> is 1000. Normally, queries for a single Visualforce page request may not retrieve more than 50,000 rows. Solution:- But with API version 23.0 , salesforce has introduced ' ReadOnly ' annotation which has following functionality/restriction:- The @ReadOnly annotation allows you to perform unrestricted queries against the Force.comdatabase. All other limits still apply. It's important to note that this annotation, while removing the limit of the number of returned rows for a request, blocks you from performing the following operations