-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge same field in multiple tables #24
Comments
Hi, let me see if I understood it correctly. You have several tables that should be filled with the same data, right? One workaround would be to just use a different identifier and fill the data separately. I will look into the code to see if there is a problem there. |
You got it right. Your proposed workaround requires to duplicate the json data in python with different identifiers several times (=number of tables). Maybe https://github.com/iulica/docx-mailmerge/blob/master/mailmerge.py#L571 can be repeatedly called until it returns |
Fixed, and released 0.8.1 . Please wait a little bit for the release to be published and then check if it works. |
I have several tables in my docx template which have an identifier column in common. If I specify a merge field with the same field name and use
merge_rows
, only the first table is populated with the rows.How can I apply
merge_rows
to every table which contains the same field name specified inmerge_rows
?Your Environment
The text was updated successfully, but these errors were encountered: