Boxlang 1.x Stable Released
BoxLang : A Modern Dynamic JVM Language
LogoLogo
Ctrlk
APIDocsDownloadTrySourceSupport
  • Introduction
  • Getting Started
    • Overview
    • Installation
    • Running BoxLang
    • BoxLang Cloud Servers
    • IDE & Tooling
    • Maven Integration
    • Runtime Configuration
  • BoxLang Language
    • Program Structure
    • Syntax & Semantics
    • Classes & O.O.
    • Reference
      • API Docs
      • Lexical Elements
      • Types
      • Built-in Functions
        • array
        • async
        • binary
        • cache
        • cli
        • conversion
        • decision
        • encryption
        • format
        • i18n
        • io
        • java
        • jdbc
        • list
        • math
        • query
        • runtime
        • scheduler
        • string
        • struct
        • system
          • ApplicationRestart
          • ApplicationStartTime
          • ApplicationStop
          • BoxAnnounce
          • BoxAnnounceAsync
          • BoxModuleReload
          • BoxRegisterInterceptionPoints
          • BoxRegisterInterceptor
          • BoxRegisterRequestInterceptor
          • BoxUnregisterInterceptor
          • BoxUnregisterRequestInterceptor
          • CallStackGet
          • CreateGUID
          • CreateObject
          • CreateUUID
          • DE
          • DebugBoxContexts
          • Dump
          • Duplicate
          • echo
          • EncodeForHTML
          • GetApplicationMetadata
          • GetBaseTagData
          • GetBaseTagList
          • GetBaseTemplatePath
          • GetBoxContext
          • GetBoxRuntime
          • GetBoxVersionInfo
          • GetClassMetadata
          • GetComponentList
          • GetContextRoot
          • GetCurrentTemplatePath
          • GetFileFromPath
          • GetFunctionCalledName
          • GetFunctionList
          • GetModuleInfo
          • GetModuleList
          • GetRequestClassLoader
          • GetSemver
          • GetSystemSetting
          • GetTempDirectory
          • GetTickCount
          • htmlEditFormat
          • IIF
          • Invoke
          • IsInstanceOf
          • JavaCast
          • ObjectDeserialize
          • ObjectSerialize
          • PagePoolClear
          • Print
          • Println
          • RunThreadInContext
          • SessionInvalidate
          • SessionRotate
          • SessionStartTime
          • Sleep
          • SystemCacheClear
          • SystemExecute
          • SystemOutput
          • Throw
          • Trace
          • URLDecode
          • URLEncodedFormat
          • writeDump
          • WriteLog
          • WriteOutput
        • temporal
        • type
        • xml
        • zip
      • Components
      • Exceptions
  • BoxLang Framework
    • BoxLang+
    • Application.bx
    • Async Programming
    • Components
    • Caching
    • File Handling
    • JDBC & Databases
    • Java Interop
    • Interceptors
    • HTTP/S Calls
    • SOAP Web Services
    • Server-Sent Events (SSE)
    • Modules
  • Extra Credit
    • Testing
    • MVC
    • Dependency Injection
Powered by GitBook
On this page
Edit
  1. BoxLang Language
  2. Reference
  3. Built-in Functions
  4. system

GetCurrentTemplatePath

Gets the absolute server file system path of the file that calls this function.

Method Signature

GetCurrentTemplatePath()

Arguments

This function does not accept any arguments

Examples

Basic Example

Run Example

getCurrentTemplatePath();

Additional Examples

Run Example

testPath = getCurrentTemplatePath();
writeDump( testPath );

Related

  • ApplicationRestart

  • ApplicationStartTime

  • ApplicationStop

  • BoxAnnounce

  • BoxAnnounceAsync

  • BoxModuleReload

  • BoxRegisterInterceptionPoints

  • BoxRegisterInterceptor

  • BoxRegisterRequestInterceptor

  • BoxUnregisterInterceptor

  • BoxUnregisterRequestInterceptor

  • CallStackGet

  • CreateGUID

  • CreateObject

  • CreateUUID

  • DE

  • DebugBoxContexts

  • Dump

  • Duplicate

  • echo

  • EncodeForHTML

  • GetApplicationMetadata

  • GetBaseTagData

  • GetBaseTagList

  • GetBaseTemplatePath

  • GetBoxContext

  • GetBoxRuntime

  • GetBoxVersionInfo

  • GetClassMetadata

  • GetComponentList

  • GetContextRoot

  • GetFileFromPath

  • GetFunctionCalledName

  • GetFunctionList

  • GetModuleInfo

  • GetModuleList

  • GetRequestClassLoader

  • GetSemver

  • GetSystemSetting

  • GetTempDirectory

  • GetTickCount

  • htmlEditFormat

  • IIF

  • Invoke

  • IsInstanceOf

  • JavaCast

  • ObjectDeserialize

  • ObjectSerialize

  • PagePoolClear

  • Print

  • Println

  • RunThreadInContext

  • SessionInvalidate

  • SessionRotate

  • SessionStartTime

  • Sleep

  • SystemCacheClear

  • SystemExecute

  • SystemOutput

  • Throw

  • Trace

  • URLDecode

  • URLEncodedFormat

  • writeDump

  • WriteLog

  • WriteOutput

PreviousGetContextRootNextGetFileFromPath

Last updated 5 months ago

Was this helpful?

LogoLogo

Social Media

  • X
  • FaceBook
  • LinkedIn
  • YouTube

Bug Tracking

  • Runtimes
  • IDE
  • Modules

Support

  • Professional
  • Community
  • Slack

Copyright & Register Trademark by Ortus Solutions, Corp

  • Method Signature
  • Arguments
  • Examples
  • Basic Example
  • Additional Examples
  • Related

Was this helpful?