Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 218 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.8K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 82 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Can I nest document-repeat-elementname in a pdf template

I came across a webpage from 2022 where they stated we cannot have more than one of these on a page and we cannot nest them.
Is that correct, as my use case is a complex PDF that I am using PDF Template for, where I would need to have a dozen or so repeatable blocks of elements and I believe I have a couple that would be nested.
Am I wasting my time?
If I am not, how can I reference them in my template?
I have G_1, which is the main query and it will have the title, date the report was filed.
In G_3 I have demographic information, such as name, sex, race, but I may have several records in G_3 that are under G_1, so in my PDF I need to be able to show these.
My only solution right now is a unique name for each column in G_3 and then I can refer to them in the name field of the PDF text field, but I don't know how to pass in the data from G_3 to document-repeat-elementname.
Answers
-
Possible Workarounds you can try:
- Use Separate Repeating Groups
Instead of nesting, try structuring your data so that each repeatable block is independent.
You may need to flatten the data structure before passing it into the template.2. Use RTF Templates Instead
If nesting is essential, consider switching to RTF templates, which allow more flexibility in handling nested repeating groups.
3. Preprocess Data Before Passing to the PDF Template
If you can manipulate the data before it reaches the template, you might be able to structure it in a way that avoids nesting while still achieving the desired output.
0