Copy link to clipboard
Copied
Hey there,
I am trying to render a new dynamic table (lets call it "inner table"), inside another static table(lets call it "outer table").
Now, insider a cell of the outer table, i have added the table tags for the dynamic table.
When I call the Adobe API, the inner table's rows are now being generated in a new row of the outer table, therefore having multiple outer table rows with only one inner table row.
I have attached the expected result from the API and also the actual result that is being rendered by the API in the attachments below.
Can someone please explain what is the issue here or what can be done to over come this problem?
Copy link to clipboard
Copied
Is this question referencing the Document Generation API?
Copy link to clipboard
Copied
I'm going to guess, yes, since I'm having the same issue when merging a Word doc.
Scenario: A table is used for layout purposes and a dynamic table is then nested inside of that, the data is looping over the outer table. Simply put: a 1 page nested table with 10 rows becomes a 10 page document with one row on each page.
Copy link to clipboard
Copied
I can confirm this is not working properly. I'll file a bug report. Note that you may have a workaround - passing the table as an HTML string instead. See my first demo here: https://blog.developer.adobe.com/totally-tubular-tabular-tools-for-document-generation-79dae96c7e59
Copy link to clipboard
Copied
I did a test where I passed an HTML string containing a table as a member of another table, and it worked properly.
Copy link to clipboard
Copied
Hi Raymond!
I was able to successfully implement this work-around for one nested table, but when I try to have two HTML strings containing tables, I get the following error:
Table Tag must be in a separate paragraph;
Any ideas about how to handle this?
Copy link to clipboard
Copied
Use 2 tags. {{ foo }} and {{ goo }} for example.
Copy link to clipboard
Copied
Thank you!! One more follow-up question - I am getting some wierd text formatting (larger text) from the HTML strings content - is there a way to have it follow the Word template text font & font size or set that within the HTML string?