Skip to Main Content

Document Generator Pre-Built Function

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OCI Document Generator with APEX

Maulik ShahApr 3 2025 — edited Apr 3 2025

We are using APEX 24.2 and Oracle Cloud Document Generator function. We are using MS word Templates to generate PDF reports. For the most part it is working. We need help with a particular conditional looping in MS word Template. One of the report I want to print a table header with Titles only when there is data for that sub query.

FOR Example : In the report below , I want to print the Dept id | Dept Name | Title header only if there is a department record. If no dept record exists , I dont want to print the title.

How can I achieve this in MS word Template ? what Tags will I use in the Word Template ? any help appreciated. thanks.

Report output example :

Employee id | Employee name | Address |

     _ABC          | John Doe             | XYZ …   |_

              **Dept id | Dept Name |**

                 _10      |  Purchasing |_
This post has been answered by Francois Robert-Oracle on Apr 3 2025
Jump to Answer
Comments
Post Details
Added on Apr 3 2025
3 comments
325 views