-
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
Migrating from Salesforce Classic to Lightning – Easy Guide
Migrating from Salesforce Classic to Lightning is essential for businesses looking to improve efficiency and stay competitive. 360 Degree Cloud’s Managed Salesforce Services make this…
The Importance of Salesforce Support for Businesses
Are you looking to boost your sales team's performance and streamline your business operations? Salesforce is here to help! In today's competitive market, having a…
How to Set Up Web-to-Lead in Salesforce | The Complete Guide
What is Salesforce Web to Lead Salesforce web to lead is a tool for capturing and saving leads from your website. Salesforce has this capability…
Popular Salesforce Videos
Salesforce Data Management - Data Loader - Insert, Update, Upsert, Export, Delete
Use the Data Loader wizards to add, modify, or delete records. The upsert wizard combines inserting and updating a record. If a record in your…
Heroku | Salesforce Development Course
Knowledge of Heroku is also required to crack the Salesforce PD 1 Certification Examination. Let’s understand what Heroku is and what are its uses, in…
Is the Salesforce Marketing Cloud the Future For Business?
As the market changes, one needs to keep up with the times. Companies are interested in Salesforce Marketing Cloud because it gives them a competitive…