February 2014 archive

Login to salesforce with facebook

Captcha

Login to salesforce with facebook credentials Hello everyone, Now a days, at many websites, you must have seen that there is an option to login using your facebook credentials. Similar is the case here where you want to log-in to your salesforce org using facebook credentials. So, here are the steps that will help you …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/login-salesforce-with-facebook/

Fieldset apex code salesforce

FieldSet Apex Code Salesforce Example

Fieldset apex code salesforce A field set is a grouping of fields for same object. We can use dynamic bindings to display field sets on our Visualforce pages. Fieldset is very useful when we are working with managed package. If we are using standard controller, then using fieldset in visualforce is straight forward. You can …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/fieldset-apex-code-salesforce/

Fieldset visualforce page salesforce

Create account field set

Fieldset visualforce page salesforce A field set is a grouping of fields for same object. We can use dynamic bindings to display field sets on our Visualforce pages. Fieldset is very useful when we are working with managed package. A fieldset is a grouping of fields. For example, fieldset can contain fields like first name, …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/fieldset-visualforce-page-salesforce/

Custom setting in Salesforce

Hierarchy

Custom Setting in Salesforce Custom setting in Salesforce are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user. All custom settings data is exposed in the application cache, which enables efficient access without the cost …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/custom-setting-salesforce/

Gets Maps from SOQL Query salesforce

Gets Maps from SOQL Query salesforce As we all know, Apex code has limitation of  Number of code statements that can be executed. While writing Apex code, we should take care of number of code statement that are  executed to avoid governor limits. It is useful to understand how to reduce the number of executed …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/gets-maps-soql-queries-salesforce/

External Key in Salesforce

External Id

External Key in Salesforce External Key is a very interesting and important feature given by Salesforce. It is very much helpful when we are importing some data from legacy system, means suppose the data in the old system needs to be migrated to salesforce and we want to avoid importing any duplicate records from that …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/external-key-salesforce/

Visualforce page render as pdf example

Visualforce page render as pdf example We can render any page as pdf  by adding renderAs attribute to <apex:page> and specifying “pdf” as value. renderAs value is name of any supported content converter. Currently PDF is the only supported content converter. Setting renderAs attribute to “pdf” renders the page as a PDF. Rendering a Visualforce …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/visualforce-page-render-pdf/

Salesforce record id hack first 3 digit

Account Tab

Salesforce record id hack first 3 digit This post is going to be interesting. As we all know that each record in salesforce is identified by record id which is unique for every organisation. Salesforce record id can be 15 digit case sensitive or 18 digit case insensitive. Last three digits of 18 digit record …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/salesforce-record-id-hack-first-3-digits/

actionRegion visualforce salesforce

Without actionRegion Demo

actionRegion visualforce salesforce actionRegion provides an area of a Visualforce page that decides and separates which components should be processed by the force.com server when an AJAX request is generated. Only the components which are inside actionregion component are processed by server, so it increases visualforce page performance. Here components means, all visualforce tags like inputField, outputField, …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/actionregion-visualforce-salesforce/

Difference between Export & Export All in Data Loader

IsDeleted True

Difference between Export & Export All in data loader is really interesting. I was asked this question in one of my job interview. There are two buttons available in dataloader ‘Export’ & ‘Export All’. Difference in both button functionality is very small. When we use ‘Export’ button for any object in salesforce, all records( excluding …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/difference-export-export-data-loader/