Skip to main content

##()##

CSP Compile-time Expression

Synopsis


##(expr)##

Description

The ##()## directive allows you place an expression within the body of a CSP page. This expression is evaluated on the server by the CSP Compiler when the CSP source file is compiled into a %CSP.PageOpens in a new tab class. The result of the expression becomes part of the executable code for the CSP page.

For example, the following HTML:


This page was last compiled on <B>##($ZDT($H,3))##</B>

Is equivalent to:


This page was last compiled on <B>2002-01-02 13:51:12</B>

When the client requests this page, the value sent will be the time when the page was compiled (not when it was requested).

Purpose of this instance: Draft documentation
DocReleaseID: Core2018.1.11
Content loaded from:
/staging/ce/2018.1.11/doc/cache/en-us/src/
/staging/ce/2018.1.11/doc/ensemble/en-us/src/
/staging/ce/2018.1.11/doc/isp/en-us/src/
/staging/learning/zenmojo-doc/en-us/src/
FeedbackOpens in a new tab