Question

Google Docs add rows to table and populate with line items

  • 3 December 2021
  • 1 reply
  • 315 views

  • Anonymous
  • 0 replies

Hi,

Is there a way to dynamically add rows to a table located within a Google Docs template and populate the rows with line items? 

 

For example I have the following names in comma separated values and would split them by comma, to create an array.  I would then like to inject the two names on separate lines in the Google Docs template.

 

Names: Joe Bloggs, Steve Jobs

 

Google Docs Template should look like below once inserted.

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @BradE 

GDocs accept HTML, so you can try dynamically creating the rows to insert: https://www.w3schools.com/html/html_tables.asp

A Code step can be used to create this, but you can try other Formatter options too.