Category: Apex
-
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 14
131. What will happen if you try to update record in After Trigger Context? Ans : You will get an error saying “record is Read only”. 132. Let’s say we have to update the same record in After Trigger context. Is there any way or workaround? Ans : If we create a new instance of…
-
How to Debug Manage Package in Salesforce
Many times as a developer we need to debug the manage package for possible run time error. For example , while uploading contacts using Import wizard we get “Internal Server Error” and when we try to look into debug log there is no clear indications. However in my experience i have seen this kind of…
-
Merge PDF in Salesforce Using Java, ITextPDF and OAuth 2
Its long time, since i wrote any article because of my busy schedule However this time i came with advance one. In this article we are going to use the J2EE (Servlet) to Merge PDF attachment inside salesforce with the help of OAuth and ITextPDF jar file. The reason of writing this article is that…
-
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…
-
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
-
Salesforce Apex Code talk – Important Questions and Answers
Salesforce Apex Code talk on – 24-April-2012 , Important Interview Questions