In Salesforce usually we write a trigger for an object, and then from the trigger we call a method on a class. If we need to make call out to an external web service from the trigger we get “System.CalloutException: Callout from triggers are currently not supported”. @future method with callout=true is the way to…
Category: Future Methods
How can we Insert, Update and Delete a record in a Visualforce Page ?
We can do simple Insert, Update and Delete in a Visualforce Page with out using any APEX code. If you want extend the standard methods, you will need to write an extension to the Standard Controller or create a Custom Controller. Simple INSERT, UPDATE, DELETE in Visualforce page: We can insert, update and delete records by using…