Tag: Apex
-
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. or 112 : Write Apex code which will take the RecordID as input and on…
-
How to Sort Wrapper class Collection in Apex
There is inbuilt functionality in Apex to sort the primitive datatypes supported by force.com. I am sure maximum of developers must have come across the situations where they need to sort custom datatype built by them i.e. custom class or I would say wrapper class in terms of force.com. But think, How force.com will come…
-
Salesforce Interview Questions – Part 10
This Part of Salesforce interview question series depict on browser compatibility issue (Internet Explorer 9) and Visualforce normally for AJAX, Group By and Having Clause. 91. How to add the Document Header in Visualforce page? Ans : Directly there is no way to add the document type in visualforce. However in most of the cases…
-
Apex based record sharing in Salesforce
Working with Apex based sharing in Salesforce
-
APEX based DDP generation using LOOPlus
Example of generating dynamic document packages (DDP) using Apex and LOOPlus in Salesforce
-
Introduction to View State in Visualforce
Introduction to View State in Visualforce with example and code walk-through
-
Method Parameters – Pass by Value or Pass by Reference
Difference between pass by Value and pass by Reference in Salesforce and other Object Oriented Programming language
-
Creating Trigger on Attachment in Salesforce
Example and tutorial on creating the trigger for attachment in salesforce which will not allow to upload the file in opportunity if file contains some predefined text
-
Dynamic Approval Process in Salesforce using Apex and Trigger
This article explain the Automatic submission of Approval process using Apex and trigger. It include Automatic submission, approval as well as rejection of record completely using Apex and trigger.
-
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