Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Management and Configuratio... > TemplateName
Retrieves the internal name of the template for the current page. For example, DOC_INFO or CHECKIN_NEW_FORM.
This variable makes it possible to create conditional content in a template based on the identity of the template. Use this variable within a template page to determine the source of the pages delivered by the server.
Type and Usage
Output
Returns the template name as a string.
Example
This markup displays a table of template information on the page:
<TABLE> <TR><TD>Template Name</TD> <TD><$TemplateName$></TD></TR> <TR><TD>Template Class</TD> <TD><$TemplateClass$></TD></TR> <TR><TD>Template Type</TD> <TD><$TemplateType$></TD></TR> <TR><TD>Template File Path</TD> <TD><$TemplateFilePath$></TD></TR> </TABLE>
See Also