Try the fastest and simplest way to install ONLYOFFICE

[Document Server] Mail merge

Tech support for Enterprise Version

[Document Server] Mail merge

Postby 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
dsi-lille
 
Posts: 200
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Mail merge

Postby 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 34 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)
Maxim
 
Posts: 1737
Joined: Tue Oct 11, 2016 2:34 pm

Re: [Document Server] Mail merge

Postby 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
dsi-lille
 
Posts: 200
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Mail merge

Postby Maxim » Thu Mar 15, 2018 11:30 am

Hello Yoann!
Unfortunately i have no info to give you a precise answer.
Maxim
 
Posts: 1737
Joined: Tue Oct 11, 2016 2:34 pm


Return to Enterprise Version

Who is online

Users browsing this forum: No registered users and 3 guests