function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ds77730ds77730 

Mail Merge using Apex

Is it possible to use mail merge functionality (MS-Word)  using Apex.

I would like to keep the template in documents folder and then using Apex would like to fill the data and generate the document.

 

Code example would be quite helpful.

skhalidskhalid

Were you able to figure this one out? I have a similar requirement. Would really appreciate it if you could get back to me.