BE_EvaluateJavaScript ( text ) 


Evaluates the JavaScript passed to it as text and returns a result, if any.


Version : 3.1


Parameters :
text : the JavaScript to evaluate.


Result : ? for errors, or the result of the JavaScript code.


There are also two callback functions, so you can call FileMaker calculations using BE_Evaluate_FileMaker_Calculation or run FileMaker Script using BE_ExecuteScript from within the JavaScript code. Some examples are :

BE_EvaluateJavaScript ( "BE_ExecuteScript ( 'ScriptName', 'parameters' )"

BE_EvaluateJavaScript ( "BE_Evaluate_FileMaker_Calculation ( 'Get ( FileName)' )" )

Still need help? Contact Us Contact Us