Element Details: Formula+Script+File
 Back


Available in: Logi Info Source code name: FormulaScriptFile

Some attribute values, such as the Label's Caption attribute, can be set with an equals sign (=) at the beginning so that it is evaluated as a VBScript or JavaScript formula. FormulaScriptFile allows you to specify one or more script files containing functions called by the formula.

For example, a Label's Caption may have:

=MyPriceDiscount(@Request.Price~)

The FormulaScriptFile could specify a script file with:

Function MyPriceDiscount(nPrice)
MyPriceDiscount = nPrice * .15
End Function

The script is run on the server, not in the web browser client.

Element Group:Extensions and Shared Elements



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ID
UserDefined
The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
ScriptFile
UserDefined
(Required) Specifies the script file. If the script file is in the SupportFiles, no path is necessary. Otherwise, specify a full file system path location.



PARENT ELEMENTS

Click element to drill down for more information.

Mobile Report Report Widget


CHILD ELEMENTS

Click element to drill down for more information.

Additional Script File


 Back to top


 Chart Debug