Specifies runtime include of a CSP file.
||The CSP page or file to include at this point.
The CSP:INCLUDE tag includes another csp page or file at runtime. If there is a problem with the include then it will call the error page to display the error, setting the parameter Error:IncludePage
to the page it was trying to include.
You can use the CSP:INCLUDE tag to create components and then include these components within your CSP pages.
You can specify files for inclusion that have extensions other than .csp
. In this case, the internal web serer retrieves the file for inclusion in the CSP page and the Serve files
flag must be set to Yes
in CSP application configuration on the [Home] > [Security Management] > [CSP Applications] > [Edit CSP Application]
Therefore, it is recommended that you use .csp
files for inclusion to avoid having to turn this flag on.
The following runs the CSP page, includedpage.csp
, to render a section of HTML within a container CSP page:
© 1997-2019 InterSystems Corporation, Cambridge, MA