Help Docs
Content Blocks (Paragraphs)
EDocGen supports the dynamic population of content blocks into your templates. This is useful if you want to
Below help guide details on how to populate content blocks (paragraphs) into your DOCX and PDF templates.
Step1: Upload Content Blocks
Under template, there are two sub-tabs for paragraphs & images. Click on the paragraph. You can Upload new content blocks by clicking the "Create a new paragraph" button.
Step2: Add relevant tags to the template
Open your Word/PDF editors and add the following markers at the place where you want the paragraph(s) to be embedded.
The marker for the content block is {>paragraphid}
. This helps EDocGen to identify a content block. "Contentblockid" is the name you give to the content block. It has to be a single word.
Ex: company_info
commoncontent
Step3: Populate content blocks
While populating XML/Excel/JSON data, include paragraph id in your data for dynamic population. The system also supports external paragraphs population. In this case instead of paragraph id, include the URL of the content block. Another USP of the system is BLOB population.
If you are using the webform option (interactive) to populate the template, you would see drop-downs of content blocks in the web form. Select from the drop-down to populate them into the template at run time.