How to use two entities in a single document template for PDF generation.

Hello, I want to Generate a PDF where I should be able to display the contents of two entities in a single dataview in a document template. Below I have attached my data.
1 answers

Hi Christy,


it is not possible to display the contents of more than 1 entity in a single dataview. However, you can ‘nest’ dataviews/listviews. For this, the two entities need to be associated. For example: one course can have many studens. If you want to generate a pdf of the Course entity and Student entity, you can have a pdf with entity ‘Course’ and inside the dataview add Listview with entity ‘Student’.


Hope this helps Christy and good luck with your project!