Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 281 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.3K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 106 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Conditional Page Break doesn't work for last record or when xml has only 1 record
We are currently facing an issue with the output page splitting based on our defined conditions while using an RTF Template.
If we have 3 items, the page split functions correctly for the first 2 items, but fails for the 3rd one. Similarly, when there's only 1 item, we require the output to be split into 2 pages instead of just 1, which isn’t working as expected.
Answers
-
You can try the below options:
- Use <?split-by-page-break:?> Tag
Ensure that you're using the <?split-by-page-break:?> tag correctly in your RTF template.
https://community.oracle.com/mosc/discussion/3502364/not-working-in-rtf-for-page-break
2. Adjust Table Properties
If your data is inside a table, try modifying the table row properties:
Uncheck "Allow row to break across pages"
Enable "Keep with next" and "Keep lines together"
3. Use Conditional Page Breaks
If the issue is with the third item not splitting correctly, you may need to add a conditional page break based on the number of items.
https://community.oracle.com/customerconnect/discussion/850304/steps-to-add-page-break-and-print-bip-report-output-splitting-page-wise-through-rtf-template
0
