tuli
05/22/2025, 1:34 PMCeligo AI
05/22/2025, 1:34 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that the issue you're facing with setting the content of a PDF to the corners and boundaries using SuiteScript and BFO is due to the limitations of the BFO rendering engine that NetSuite uses for its advanced PDF templates. Even after setting the margin to 0, there might still be a significant amount of space left on all four boundaries. This is because BFO has certain properties that it simply doesn't support, and it seems like setting the content to the corners and boundaries might be one of them. However, there are some workarounds that you can try: 1. You can try using the
corner-radius
property instead of border-radius
, as BFO supports corner-radius
.
2. Instead of trying to set the content to the corners and boundaries, you can try adding it as a table at the end of your code and placing it at the bottom of the page.
3. If you're trying to add text right above the footer on the last page only, you can add the text at the end of your body
content. This won't be aligned to be right above the footer, but it's a workaround that might work for you.
Remember, these are just workarounds and might not work perfectly for your specific use case due to the limitations of BFO.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
05/22/2025, 1:35 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826375723
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.814677656
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799577475
Celigo AI
05/22/2025, 1:35 PM