I want to create document structure that will include:
- Cover Page
- TOC
- Page numbers
the actual content of the document is a dynamic Template so using Components/childTemplate looks like the best option.
Another requirement is that the Component/childTemplate body will be provided from a API call .
Using the playground example for Components/childTemplate looks like the actual content is store in the DB.
Here are my questions ?
- Use Components OR childTemplate ? what will be the best option
- Use beforeRender script to update the Component/childTemplate ? for the budy
- How to create the Page numbers
- How to create the TOC
Thank you for the help