-
Is there any way to perform DML operations from visualforce email templates?
Visualforce email templates allow you to include visualforce components with allowDML="true" but there doesn't appear to be any way to actually use DML. But getting these when trying to implement :-
You can't use data manipulation language (DML) operations in a “getxxx” method in a controller.
You can't use data manipulation language (DML) operations in a constructor method in a controller.
So is there any way to do this?
Log In to reply.
Popular Salesforce Blogs
Different Types of Object Relationships in Salesforce
In Salesforce, we can associate one object with another object. We can create the relationship by creating a custom relationship field of an object. By…
What is Salesforce CPQ and How Does it Work?
Salesforce CPQ is a software solution that helps businesses automate and streamline their sales processes by providing a way to quickly and accurately create quotes,…
Salesforce Best practices to keep in mind
Best practices identify that the procedure followed is correct and acceptable for everyone. It is appreciated in both professional and commercial procedures. When it comes…
Popular Salesforce Videos
What are the Objects in Salesforce?
What is the difference between Profile Vs Permission Set? Salesforce Interview Questions and Answers by CRS Info Solutions. Watch this video to learn more. Read…
Approval Process In Salesforce | Salesforce Development Tutorial
Approval process in Salesforce. This video will cover the following points - 1. Approval Process Learn how to create an approval process. 2. Manage Approval…
Salesforce Platform Developer 1 Certification Training | Salesforce Training Video
This Salesforce Training Video will give an overview of Salesforce Certification Training by explaining what is Salesforce, Why we need Salesforce, Salesforce Career opportunities and…