[Document Server] Mail merge

Tech support for Enterprise Version
Post Reply
dsi-lille
Posts: 200
Joined: Mon Jul 11, 2016 1:47 pm

[Document Server] Mail merge

Post by dsi-lille » Tue Mar 13, 2018 9:28 am

Hi,

In Document Server, is there a way to do a mail merge without setting up an account in the mail module ?
We already have a webmail and don't want to use the mail module.

Thanks for your answer,
Yoann

Maxim
Posts: 1843
Joined: Tue Oct 11, 2016 2:34 pm

Re: [Document Server] Mail merge

Post by Maxim » Wed Mar 14, 2018 8:06 am

Hello!
Theoretically it's possible. It needs to load your addresses from your database. In Enterprise Edition we load addresses from community server's database.
MailMerge.7z
(30.53 KiB) Downloaded 57 times
If you use this config

Code: Select all

ar docEditor = new DocsAPI.DocEditor("placeholder", {
    "document": {
        "title": "Example Document Title.docx",
        ...
    },
    "editorConfig": {
        "mergeFolderUrl": "http://example.com/select-mailmerge-folder.html?title={title}&fileuri={fileuri}",
        ...
    },
    ...
});
then for the pdf format, clicking on the Save button will open the iframe for the following address:
https://example.com/select-mailmerge-fo ... ument.docx
that is instead of {title} will be substituted Example Document Title.pdf and instead of {fileuri} will be substituted this (https://documentserver/url-to-merged-document.docx)

dsi-lille
Posts: 200
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Mail merge

Post by dsi-lille » Wed Mar 14, 2018 10:10 am

Hello Maxim,

thanks for your detailed answer !
Seems a little bit complicated but i will take a look :)

Is there any plan to integrate this in the interface ?

Thanks,
Yoann

Maxim
Posts: 1843
Joined: Tue Oct 11, 2016 2:34 pm

Re: [Document Server] Mail merge

Post by Maxim » Thu Mar 15, 2018 11:30 am

Hello Yoann!
Unfortunately i have no info to give you a precise answer.

Post Reply