docx-mailmerge icon indicating copy to clipboard operation
docx-mailmerge copied to clipboard

How can I combine merge_template with merge_rows?

Open lucaspon opened this issue 5 years ago • 1 comments

I have a document with many pages, and in each page there is a table that needs to be filled in.

I noticed that document.merge_template works fine for specific fields, but doesn't work for tables with multiple rows like document.merge.

Is there a way around this? Perhaps a for loop?

Thanks in advance for any help!

lucaspon avatar Jun 23 '20 23:06 lucaspon

Hi Lucas,

It actually does work with tables, I have just got it going now. There is however a bug which if you have a blank table, it seems to get replaced with one of the other merge templates table rows instead.

I'm going to put a bug report in for that now, not that I am optimistic it will ever get solved :)

cameronstubber avatar Nov 02 '20 00:11 cameronstubber