Conditional content block

Anyone have an idea like a workaround how to manage content blocks. Lets say we want Section #1 & #6 to be added to the doc and mapped dynamically.

Hi @vivareynald Thank you for using the DocuGen community!

At the moment, DocuGen supports dynamic generation of multiple items in a table format. Selecting and rendering individual content blocks (e.g., specific sections like Section #1 and Section #6) directly within a document is not supported.

As a workaround, you can structure your data using subitems under a parent item. From there, you can use the Summary option from subitems to bring in the required column from the subitems in the parent item. You can then map the relevant columns in your DocuGen template to dynamically generate the content.

Please note that this workaround will only work as intended if there is a single subitem, as the Summary column will aggregate and render values from all subitems. If multiple subitems are present, all values will be included in the output.

Thank you!