Categories
- All Categories
- Oracle Analytics Learning Hub
- 19 Oracle Analytics Sharing Center
- 19 Oracle Analytics Lounge
- 232 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.9K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 86 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations 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
