Posts Tagged ‘Visualforce’

Salesforce Interview Question – Part 15

141 : User Wants to set the starting day in Calendar as “Monday” instead of “Sunday”. How to get it done? Ans : Change the user locale to “English ( United Kingdom ) ” in Personal information or User record. 142 : Why CSS is not working in PDF created by Visualforce ? Ans : [...]

Using FieldSet with Visualforce and Apex

One of the disadvantages comes up with Custom Page or Overriding New or Edit button with Visualforce page is its “Maintenance”, if New Filed is Added or needed to remove field we have to modify our code every time. However, Thanks to Salesforce that we have “Field Set”. With the Help of “Dynamic Visualforce Binding” [...]

Salesforce Interview Question – Part 13

121 : Consider we have overall 90% code coverage however there is one class which have 0% code coverage. Can we still able to deploy that class on production? Ans : Yes. Minimum 1% required for every trigger and there is no such restriction for Apex class. 122 : How to get selected records ID [...]

Salesforce Interview Question – Part 12

111 : How to get the Recordtype Id using Dynamic Apex? Ans: Normally to get the RecordtypeId for any sObject we use SOQL and it will count against your limit. So below method will bypass the need of SOQL Query. 112 : Write Apex code which will take the RecordID as input and on the [...]

Introduction to View State in Visualforce

Introduction to View State in Visualforce with example and code walk-through

JSON output in Visualforce

The Example of generating the JSON Output in Visualforce page using JSON.serialize method provided by Salesforce

Handling Colon in Element ID in JQuery – Visualforce problem

Resolving the JQuery error when the Element ID contains colon with Live Demo

Get DOM ElementID of the Visualforce components

How to get the DOM ElementID of the Visualforce components in Salesforce

Getting record from other Salesforce organization OR communication between multiple salesforce organization

Calling Rest Web service using Apex – Getting record from other Salesforce organization or Account or communication between multiple salesforce organization

Passing multiple Parameters in ActionFunction in Visualforce

Example and Source code of multiple Parameters Parameter in ActionFunction in Visualforce – Salesforce