Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

<CSP:INCLUDE>

Specifies runtime include of a CSP file.

Synopsis

<CSP:INCLUDE>

Attributes

General Attributes

Attribute Description Value
PAGE The CSP page or file to include at this point. A string.

Description

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 or .cls. In this case, the internal web server retrieves the file for inclusion in the CSP page and the Serve files flag for the application must be set to Yes. To examine and set this flag, navigate to System Administration > Security > Applications > Web Applications in the Management Portal.

Therefore, it is recommended that you use .csp or .cls files for inclusion to avoid having to turn this flag on.

CSP:Include Example

The following runs the CSP page, includedpage.csp, to render a section of HTML within a container CSP page:

<CSP:INCLUDE PAGE="includedpage.csp?PARAM=ABC">

See Also

The server-side include directive: <!--##INCLUDE-->

FeedbackOpens in a new tab