---
title: "Discussion on \"Oracle APEX - Native Nested Report with Template Directives\" | Hashnode"
description: "Discussion on \"Oracle APEX - Native Nested Report with Template Directives\". I've frequently encountered the need for nested reports in various projects. Often, the solution required a third-party plugin, leading to the idea being dropped altogether.\nWhile Oracle APEX offers a native solution with Master-Detail reports, we ca..."
url: "https://hashnode.com/posts/oracle-apex-native-nested-report-with-template-directives/66c5a8d1a9e49fbb3dfdb63a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Oracle APEX - Native Nested Report with Template Directives](https://blog.lucashir.eu/oracle-apex-native-nested-report-with-template-directives?utm_source=hashnode&utm_medium=feed)

I've frequently encountered the need for nested reports in various projects. Often, the solution required a third-party plugin, leading to the idea being dropped altogether. While Oracle APEX offers a native solution with Master-Detail reports, we ca...

Aug 21, 2024 · 5 min read · blog.lucashir.eu  
Read the article

-   [#orclapex](https://hashnode.com/tag/orclapex)
-   [#oracle](https://hashnode.com/tag/oracle)

## Written by

[Lucas Hirschegger](https://hashnode.com/@lucashir)

@lucashir · Slovenia

  
[View profile](https://hashnode.com/@lucashir)

Senior Oracle APEX Consultant | Oracle ACE Associate ♠

Experienced Business Analyst with a demonstrated history of working in the airlines/aviation industry. Strong research professional with an engineering focus and a strong technical background. Skilled in SQL/PLSQL, Linux System Administration. A proud Oracle APEX Consultant.

## Responses 3

Markdown supported · ⌘↵ to post

[Richard Sylvester](https://hashnode.com/@risylv)

[Aug 26, 2024](https://hashnode.com/posts/oracle-apex-native-nested-report-with-template-directives/66c5a8d1a9e49fbb3dfdb63a/comment/66cce1e55f2ca02207f0c6d8)

Yeah. That is what I am doing right now (using the HTML from the partial template). Thanks a lot for checking it out.

[Lucas Hirschegger](https://hashnode.com/@lucashir)

[Aug 26, 2024](https://hashnode.com/posts/oracle-apex-native-nested-report-with-template-directives/66c5a8d1a9e49fbb3dfdb63a/comment/66ccd5e8ea6980e6be4339e7)

Hey [Richard Sylvester](https://hashnode.com/@risylv),

While debugging your issue, I found in the trace that the {with/} and {apply/} directives are already being applied, but specifically to the APEX\_CARD template. This is why you're unable to nest another Template Component into it.

As a workaround, you can borrow the HTML from the partial template and apply it directly without using the template component.

[Richard Sylvester](https://hashnode.com/@risylv)

[Aug 26, 2024](https://hashnode.com/posts/oracle-apex-native-nested-report-with-template-directives/66c5a8d1a9e49fbb3dfdb63a/comment/66cca385c922cd0e35fc1cf5)

Want this feature in Cards region. Unfortunately, the {with/} & {apply/} can't be used in Cards region :-(
