7
Views
0
Comments
[Ultimate PDF] Ultimate PDF PrintLayout not rendering content when Unsafe Inline Reactive is disable
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive

Hi,

I am using OutSystems 11 Reactive Web and using the Ultimate PDF Forge component with PrintLayout.

I have a container that contains the complete PDF content, including a footer. I am using PrintLayout because I need the footer to be displayed on every page of the generated PDF.

Issue

When Enforce Unsafe Inline Reactive is enabled in Factory Configuration, everything works correctly:

  • Full PDF content is displayed.
  • Footer is displayed on every page.

However, when I disable Enforce Unsafe Inline Reactive:

  • The PDF is generated.
  • The footer is displayed.
  • But the main PDF content is not displayed.
  • Only the footer appears in the generated PDF.

I tested both configurations with exactly the same screen and PrintLayout implementation, so the only change is the Enforce Unsafe Inline Reactive setting.

What I want to achieve

We need to keep Enforce Unsafe Inline Reactive disabled because of our CSP/security requirements.

I would like to know:

  1. Is Ultimate PDF PrintLayout compatible with Enforce Unsafe Inline Reactive = Disabled?
  2. If not, is there a recommended way to make Ultimate PDF work without enabling unsafe-inline for the entire application?
  3. Is there any recommended Forge component or alternative PDF solution that supports Reactive Web, strict CSP, and a footer on every page?

Any guidance on the recommended approach would be appreciated.

Thanks!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.