-
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
Sharing Settings in Salesforce - A Brief Guide
Salesforce allows you to control access to your data at different levels. For example, you can use object privileges to control user access to objects.…
How Can CRM Solutions Help to Build Your Brand | Salesforce
This is an undeniable fact that in today’s technologically progressive era, the business market is extremely competing. To survive successfully in such a vying business…
Popular Salesforce Videos
Einstein Analytics – Release Readiness, Spring '18
Discover the new and exciting features that you can expect from Einstein Analytics in the Spring '18 Release. These include: - a new enhanced explorer…
Searching for Records In Salesforce
You can search globally across all of Salesforce for matching records to your search term. Or you can search within a specific object. You will…
How to Download Backup Files from Salesforce Using UIPath Robots
How to download backup files from Salesforce using UiPath robots. How to get the latest file from the folder: Directory.GetFiles(“YOUR FOLDER”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).First The link…