Considering that Dynamic Tables cannot be used on a master page, I’m looking for ideas to use a dynamic table on multiple sections. It this case 7 print sections. Is there a way to use a snippet with a Dynamic Table? Or are their other options?
Yes, it is possible to use Dynamic Tables in snippets. Support for this is added in Connect 2021.1.x.
The following would load the snippet and insert it after the matched element (for example an h1 element)
var myTable = loadhtml( "snippets/dynamic-table.html" ); results.after( myTable );
Or replacing an placeholder element with for example an ID (#table-placeholder)
var myTable = loadhtml( "snippets/dynamic-table.html" ); results.replaceWith( myTable );