User bio

Developer at HBT

Member since May 5, 2023
Posts:
Tobias has not published any posts yet.
Replies:

Since having AutoCompile enabled comes with security issues and won't even work out-of-the-box from IRIS version 2025.1 onwards (see https://docs.intersystems.com/iris20251/csp/docbook/changes/index.html#C...) I came up with a solution without the need of enabling the AutoCompile-option in the WebApp:

We just have to make sure that the index.csp is compiled once. To do so, we call $SYSTEM.CSP.LoadPageDir("/my-app", "ck") right after we create the WebApplication programmatically.

Example from our IPM module.xml:

    <!-- Compile all csp files of webapp /my-app -->
    <Invoke Class="%SYSTEM.CSP" Method="LoadPageDir" CheckStatus="true">
        <Arg>/my-app</Arg>
        <Arg>ck</Arg>
    </Invoke>
Certifications & Credly badges:
Tobias has no Certifications & Credly badges yet.
Global Masters badges:
Tobias has no Global Masters badges yet.
Followers:
Tobias has no followers yet.
Following:
Tobias has not followed anybody yet.