LassoScript Utility
Basics Browse Detail

[Response_FilePath]

Tag Link [Response_FilePath] Category Results
Type Substitution Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x

Description

[Response_FilePath] returns the path to the current format file.

Syntax

[Response_FilePath]

Parameters

Optional Parameters
Encoding Keyword Specifies the encoding for the tag's return value. Tags are encoded using -EncodeHTML by default if their value is output on a format file. No encoding is applied to nested tags unless an explicity encoding keyword is specified. One of -EncodeBreak, -EncodeHTML, -EncodeNone, -EncodeRaw, -EncodeSmart, -EncodeStrictURL, -EncodeURL, -EncodeXML.

Examples

To display the name of the current format file:

Use the [Response_FilePath] tag. The following example shows the result of calling [Response_FilePath] in the format file loaded by the URL http://www.example.com/default.lasso.

[Response_FilePath]

/default.lasso